In my ~9 years of experience, most engineering jobs I've stayed have been because the manager was an enabler who trusted my experience and would help remove blockers to getting things done.
I know we like to shit on engineering managers a lot here at HN but having worked with great managers, terrible managers and playing the role for a short stint myself (a humbling experience, where I was not happy with my own performance), I realise the critical role a good manager can play to bring out the best in the team, and conversely how a bad one can bring out the worst.