To exit Wizard101, click the book icon in the corner of your screen and select the tab that looks like a gear. In the corner you will see a "Quit" option; choose it to return to the character selection screen. From there, click "Exit" in the corner to fully close the game.