I got stuck in the dungeon because I ran out of items and all my party was with 1 HP. So I tried to leave to recover, but I can't at all. I think I'm softlocked.