Get well, OP. There was a time in me that I have been working for hours in front of my laptop then suddenly I feel like I just woked up working and I cannot remember much of what I was doing in the past couple of hours working. Strange experience but I know it is a burnout, I have resigned and moved to another job after that.