well I remember once I stayed at work for 2 entire days and slept there for 4 hours only to wake up and continue on the project which we finished only 5 hours before the deadline and avoided a penalty for the company
I did something like that as well, there was no deadline but servers went down and remained there to assist the sys/net admin for recovering things when needed.
Well after that 2dayish "shift" i think we had an extra non working day immediately after the event that week. It was simply a recovery from downtime situation.