|SQL*Plus User's Guide and Reference
Command Reference, 21 of 52
Commits pending changes to the database and logs the current username out of Oracle, but does not exit SQL*Plus.
Use DISCONNECT within a command file to prevent user access to the database when you want to log the user out of Oracle but have the user remain in SQL*Plus. Use EXIT or QUIT to log out of Oracle and return control to your host computer's operating system.
Your command file might begin with a CONNECT command and end with a DISCONNECT, as shown below.