I'm in the same boat as OP, only much older. Currently 49, 20+ years with a school district as an IT support tech, and my boss hates my guts. He and I just cannot communicate at all - my last eval in November he told me that one of us had to go - either him or I - as we could not work together. It used to be once a month he'd yell at me in front of co-workers, but lately it's once a week. He chased me down the hallway today after I did something to upset him. He turns beet red and gets within 6 inches of my face - just a bundle of rage. I am like a beaten dog at this point .. lost all confidence in doing my job properly, and I have no union protection or a supervisor above him to go to.
I wish I could stay with the school and change to another department, but there aren't any openings that match my skillset, so now I'd have to investigate other schools nearby to look for openings, but at some point after 20+ years, I am not even sure I want to continue to do IT work !!! Things have changed so much in this field, and my vision is failing making it damn near impossible to repair these tiny ass Chromebooks we have in abundance now. I am trying to outlast the guy, to be honest, but I doubt he is leaving anytime soon. Most of my contacts in the field have dried up or moved on, and I am fiercely loyal to my work, even in the face of this verbal abuse. I think it would take physical abuse to get me to actually leave, sad to say.
I think what most crushes me is the loss of confidence in my area of expertise. I feel like wherever I go or whatever I do, I will fail at that too. It was a real eye opener and confidence booster when I took a seasonal job at FedEx last winter and went in there scared shitless at doing something different after 20 years, and for a 49 y.o, I worked just as hard as the 18-22 y.o.'s that dominate the loading docks. I even dropped 15 lbs on my already skinny frame (6-3, 185lbs, down to 170 when I left there). But, it gave me an immense confidence boost to know I could do it. It wrecks your body, so it's nothing I could do full time, but it also was a job that 18 y.o. me had a chance to do with my school classmates, and I said at that time I would NEVER work that job, and 30 years later damned if I didn't do it !
Sorry to rant here .. I've had a bad day and I don't know where else to turn. This thread hit home with me when I read it earlier today.