What you could do, if money is not too much of a concern: job hop to different jobs. I'm currently re-entering the job market as a data analyst. I've been a SWE for 4 years. I might get back to it (probably on the data science or data engineering side) but man I'm happy to have a different task set for the next 2 years.