Honestly, it sounds like you need to work on your work-life balance.
The issues that lead to burnout in the first place are typically boundary issues, and with many people, that often arises out of being too agreeable.
You might find a few videos by Jordan Peterson on youtube about being too agreeable and what you can do to address that.
Just because you stop working in the field doesn't mean those issues will go away. I bet you are one of those 120% all the time workers, and feel bad when you aren't doing your best.
You have to fix that.
Set aside time for you that doesn't involve anything related to computers, and use that time for you.
Find some coping mechanisms like meditation (which ironically is more about learning to still spurious thoughts than actual relaxation).
Then get back to it, learn how to communicate and handle conflict effectively so it doesn't fuck with your zen. There are a lot of shitty people out there, you can't let the bastards grind you down.
Part of that is when you interview people for a job, its two sided. You interview them just as much as they interview you.
Things like vacation, on-call rotation, overtime, inventions agreements, and potential environment and resources available to you if you were to be hired are all potential walkaways. You should know about conditional agreements.
Positions with certain phrases have hidden meanings. Find the red flags and practice walking away.
There is nothing more empowering than walking away from a situation you know is bad. If they try to be abusive (i.e. you request a reasonable time to review legal agreements they want you to sign, and they rescind the offer immediately). The proper response is: The offer and conditional acceptance is mutually rescinded.
There are two books by Patterson I found immensely helpful.
Crucial Conversations, and Crucial Accountability.
Hopefully that provides some direction.