Sure, he could have tried to lead an internal revolution or whatever, but the reality is that after he hurt the wrong person's feelings on the third day he would have been fired anyway. He could have spent a few days laying out a very formal reiteration of everything he had just told the new CEO, but after she discarded the executive summary so flippantly, what would have been the point?
In fact, this is part of the reason I think engineering managers should understand engineering. Its not that one who doesn't can't be a good manager, its just that by understanding engineering they understand the consequences of the decisions they make. If a manager simply trusted his subordinates, then knowing engineering might not be necessary.
But the bad managers generally don't. They think that engineering explanations that go over their head are BSing because the engineer is lazy or doesn't want to do the work, or is padding the estimate or whatever. The tend to project onto engineers all the fault, and blame them for "not speaking up" (when in fact they did speak up but were ignored) or whatever rationalization is convenient at the time. They project this worldview onto actions to explain them, when in reality, what they're trying to "explain" has been already explained to them-- only in engineering terms.
I think bad managers also often have a superiority complex where they see a class divide between "management" and "workers". And they think that they job is to keep workers working, as if we're orcs in Warcraft who have to be beaten with a stick or we'll lie down and take a snooze.
Now I'm on the other side of the table. I am the manager. I've had challenges with employees, and they are always interesting and different.... but none of them are lazy, and none of them were making shit up to get out of work.
You may have had a Very Bad Manager. There may have been nothing you could have done about it, other than walk away. I totally accept that.
But you write: they (managers) see a class divide between "management" and "workers"
When what I see in your words is you (the programmer at the time) seeing (and reinforcing through your actions) a class divide between management and workers. You blame the bad managers for a behavioral pattern that you were just a as much a part of. At least that's what I read in your words.
And that's what I see in many other programmers. They act like children with zero responsibility, and then complain about being treated as such by evil pointy haired bosses.
It's a two way street. And given that we, the engineers, are the ones who know how it should be done, we have a considerable responsibility in changing it.
You've only told her management is the problem, that "engineering should be run by someone who understood engineering", not that the engineers can run the engineering part themselves.
"We need better managers" is just as non-constructive as "we need more programmers to make the deadline". You cannot open a can of competent managers just like you cannot open a can of competent programmers and everything will be alright.
You want to convince management you can do a better job? Show them. Sure, it means sticking your neck out. It means you may fail. Hell, it means you may get fired for even trying, instead of being allowed the dignity of quitting yourself.
But that is commitment. That is putting your ass on the line because you believe in what you stand for. You want good engineering practices? Start applying them. You want a realistic plan? Make one. (One caveat: incumbent managers may turn out not be your main impediment. Some coworkers who will gladly join you in bitching sessions will run for cover if you actually try to change things from the inside. You know, the guys that stayed when you quit and continued to take it up the ass without protest.)
It's only when clueless management insists on telling you how to do your job and prevents you from doing it right is when you run out of options.
Don't get me wrong, I'm not saying that is what you personally should have done. Most of the mismanagement you're describing is just pure mismanagement, nothing to do with being technical or not.
But just doing it is the best chance of actually changing things, rather than to wait for a that rare manager-with-technical-background to come and rescue you.
Or of course start your own company. In which case, unless you prefer to go solo, you may at some point find yourself dealing with the same issue from the other end.