Well, apparently we have to leave the cave for now. Minato has a spell which, in game, teleports all the party out of a dungeon. Would that work in this situation?