To exit a puzzle and return to the main page, tap on the "MENU" button located in the bottom right or left corner, and then select "HOME" in the same corner.