Exit the maze