There are floors every once in a while that give you the choice of going deeper, or going back to town.
If you could cut and run at any time that would make some challenges kind of pointless. I think the current intent is heat and minerals are a reward for reaching the end alive.