I'm not sure if what I had was considered burn out or not, but I lost my passion for programming and stopped really caring about anything work related. Sometimes I'd get spurs of motivation, and during one of those spurs I applied to a startup because they sounded interesting. They didn't get back to me after a few weeks and that demotivated me further.
I sold my flat and was planning to move into a van to become a surf-bum. I handed in my notice and was working on autopilot/coasting until it was done. Then it all happened very quickly, that start-up contacted me, I had an interview, did a trial week (which I loved) and I decided to join them.
It was the best decision ever, I very quickly got my passion back for programming & creating products. Plus the job was remote, so I could move somewhere closer to the beach/mountains to surf/snowboard more.
I think what helped me was getting away from the stuff I hated, i.e; meetings/emails/'chats'/story points/jira and just focusing on programming and the product I was working on. Combined with the fact that it was much easier to peruse my hobbies, it cured my burnout (if you can call it that).