I know I am speaking from a position of some privilege, but I have previously left workplaces that did not allow me to practice good engineering, and I do expect others to do so.
https://github.blog/news-insights/company-news/oct21-post-in...
They tried to scale MySql and turn it into Cassandra and then they lost customer data (that they claimed to later recover).
There are literally thousands of people who are ready to ride up the totem pole, it would not be a difficult decision for a bad manager to swing his axe and replace the new head