Use the QUIT command to terminate a session. The QUIT statement should come after an EOF command. QUIT tells the server to close the connection.
The syntax is
The QUIT command has no parameters.
See also