But I was faced with multiple deadlines and some unexpected work came up and I was called up for jury service ( a not very nice case). I took my laptop home and tried to finish the projects after a day in court.
One day, at lunch in the court, I was thinking about a project and found myself silently weeping. So I got straight on the phone to my boss and explained that I;d just found myself crying, thought that this was probably a bad sign and thought I should stop on that project.
I'm lucky in that I have an employer that values me, trusts me and takes their duty of care seriously. It probably helps that I'm a man in my 50s. They told me to knock off the project completely and commanded me to stop thinking about it until after Christmas.
So, IF
* You have a good employer. * You have the courage to admit weakness
The most effective thing to do is to tell your boss asap and ask for reasonable accommodation until you feel better.
I'm back to doing stupid amounts of work, but my boss trusts that if it feels like it is causing me problems I will tell them, and I trust that they will deal with me reasonably.
Later stage burnout usually means taking myself away from even my home town for a bit and soaking up experiences in a different place. Which is exactly what I am doing now - tomorrow I hop on a plane for a 20 hour flight to the other side of the world, to spend a week on a ship (never been on a cruise before). Maximum recharge, no work.
Addendum: Important to realise that burnout recovery doesn't necessarily mean sit on a beach and do nothing. Often, my recovery time is some of my busiest, but it is doing something completely different from programming which recharges me, like learning a new song on the guitar, or doing other audio work.
Thinking about the issue in terms of time-efficiency will likely not help. It takes as long as it takes until you are back in balance, and accepting that is part of the remedy.
It is important to 'shed the load' when you feel the onset of burnout. Don't take on anything new - just focus on finishing what you have, and then take a break or reward yourself accordingly before doing any more.