What it feels like to be bullied out of a job you love
All hierarchical systems have this fundamental problem: it's not uncommon for people of relatively low competence to get into higher-ranked positions, and then their fear of being replaced by a more competent but lower-ranked person starts dominating their decisions and behavior.  In the technical and academic worlds, these tend to be people who are skilled at politics but who have poor grasp of the technical or scientific skills that their position requires.I think flattening excessively pyramidal hierarchies are the only real solution for this problem, but that's not much comfort for those who find themselves derailed due to this dynamic.Practically, such people tend to be very concerned about their underlings also being their 'supporters' so if you can stomach it, presenting yourself as a fawning admirer and loyal henchperson is one route forward, although likely damaging to your own mental health and productivity.  Jumping ship to another berth as soon as possible is the other option (of course, don't tell anyone this is your plan, as that will spark retaliatory efforts).