avoid them. Then minimize exposure to that person to whatever extent possible. It's all about survival until you can permanently escape their sphere of influence.
I worked under a guy like that, once. Absolute tyrant. If he spotted the tiniest chink in your performance armor, he'd give you notice, let you twist in the wind for a little while as he cooked up a reason to send you packing, then terminate your employment. He once fired one of the best guys I ever worked with.