If you work, and unless you own your own business, you dont get to pick your manager. Your only two options when you get a new manager are: A) adapt to the new manager or B) quit. Working under different managers gives you the opportunity to learn and grow. Get to know the new manager and what they bring to the table. Sometimes it may take a while to understand why you are now reporting to them, but that is usually because you are not wanting to adapt to the change.
Get your attitude right and see what you can learn from your new manager. Push through or quit. Quitting is easy. Pushing through is more challenging and where growth happens. Showing you can push through is a step in the right direction to model the way for those you love, those that love you, and those that respect you.