Hopefully that wasn't at the time when iPhones were suffering the alarm clock bug
Thinking about it, with an autopilot and a comfy seat, falling asleep is probably quite a realistic problem with the endurance of a lot of aircraft being greater than that of the pilot!