You use the EXIT command to quit from SQL*Plus. On Windows this will terminate SQL*Plus; on Unix and Linux it will terminate SQL*Plus and take you back to the command-line prompt from which you started SQL*Plus. The following example quits SQL*Plus using the EXIT command:
SQL> EXIT