If you are stuck and want to exit the game, press the 'Settings' button, then click 'Quit'. The game will end, and your current score will be saved.