In the browser version you can't otherwise it all breaks. There's a "checkpoint" at the very end though.
In the actual game press escape and there's an option for it.