Although I have no access to retail wow all I can think is that either pet bar is part of a Blizzard addon that can be unloaded, or perhaps there is a console variable that controls its appearance and ElvUI forced that to off/0 which disabling the addon wouldn't solve.
You could try using
Advanced Interface Options's CVar browser to search for 'pet' and find any possible console settings.