To quit XLOGO, you can choose in the menu bar, File - Quit or click on the close button in the window titlebar. A dialog box wil ask you if you really want to quit.