it’s not mandatory, if you’re stuck on the labyrinth, exit through the place you entered to complete it