Career wise I find myself in a similar position. Roles in my niche skill set are largely offshore or contract positions now. I don’t like the idea of management. I love doing what I do… fixing bugs, investigating complex problems, not talking to people for days!!
I have been debating trainer or tester roles. There is also Scrum master as a possibility but I think that would be too regimented for me, there doesn’t seem to be much scope to adapt the scrum model for different situations - at least the way my employer does it!
Just some ideas, I don’t have much good advice as I’m spinning my wheels without a clear direction at the moment.





Recently started rewatching an old uk series called time team. Basically loads of quick short archeological digs, though the tech is a bit dated (geophysics was just available to them for the first series). Its on channel4.com though you might need to vpn to the UK.
As a teenager, it nearly swung me to studying archeology, would definitely recommend.