Syntax: exit
FTP Command Index SFTP Command Index
The EXITcommand closes the connection to the server.