I'm kind of in a similar situation, but instead of working I did a PhD in a field a bit far from computer science and eventually realized academia is not a place I want to stay in. Right now I'm thinking how to do the transition. I'm thinking of maybe doing data science, that way at least I can transfer some of the knowledge form my work in academia instead of starting from scratch but it is a difficult decision.