As you walk around if a skeleton gets too close it should trigger a collision that stops the timer and sends you back to the main menu.
Ah, walking around works. I eventually got caught.
But if you don't walk at all then you don't get killed.