Honestly, I quit my job a while ago and after a month or two was drawn back to projects I'd put off for years. I'm going to start a new job in a few months (UK civil service paperwork is slooow) but I've rediscovered the joy of doing my own thing. Being free from the constraints of other people's demands helped me a lot. I had no desire at all to code after work when work was half legacy projects and half managing people's egos. Now I'm reskilling in a hobby context and it's great fun. I might get a side income stream from it too.
TL;DR take a sabbatical if you can afford one, and don't go back to coding until you actually want to
TL;DR take a sabbatical if you can afford one, and don't go back to coding until you actually want to