well, it is what you were supposed to do. The goal of the game is to set everything to a starting position and then leave the dungeon which then shows you if it was done correctly or not.
Thanks for playing though.