What kind of dungeon design forces him to go through the final boss room to reach the surface? It makes no sense, unless he already was in a secret area behind the final boss, but in those areas there's usually no monsters and no complicated passages to get lost in, so even if that's the case this dungeon is badly made.