It should be possible to go out... but I may have overlooked something. Was it possible to hit Esc and then restart the level?
I could have made the menu more obvious in hindsight!