I feel your pain. I left a job after a reorg during which a VP promoted the people he hired over the rest of us. Bureaucratic protocol required loss of titles for a number of those not promoted. (No one could have the same title as the person one reported to.) I asked the VP if this was a demotion. There was no notation in my personnel file. "I don't want you to think of it that way," he said. I was reassigned to a smug platitudinous know-nothing who enjoyed remarking that he had an "environment" (this was never explained) whereas I had a "bunch of servers." He also enjoyed driveling on about "culture." I left within weeks of the reorg. But the next job was exploitative. That was harder to leave because the actual duties differed significantly from the job description in a direction detrimental to my career, and I took a significant salary cut, which created problems down the line. I tried to make the best of it and did some of my best programming on a hilariously underbid nightmare of a project that inordinately consumed the time of all involved, at significant opportunity cost. I left that for a job that, I found out, was notorious for high turnover, thanks to a rude, humorless manager who compusively emailed unreasonable demands involving continual upward modification of duties at all hours of the day and night as if they were emergencies, seven days a week. Rather than attempt to keep rolling with the punches and see things from the perspective of my torturer, I took inspiration from a Harvard business school professor whose advice is to quit early and often. I resigned within weeks. Now I'm back with friends. It is a weakness of mine that I don't like bosses, unless they are very, very intelligent.