in multistage dungeons you can stay till replenish AP and continue if you win. when you have poor health you can use potions on you or mercs. in game are potions which can "resurrect" hero or mercs, you regain all health and spirit.
multistage dungeon is like maze, when you out you have to start again from begining