The QUIT i5/OS® FTP server subcommand logs off from the client user and closes the control connection. If a file transfer is in progress, the connection remains open until the file transfer is complete, and then the server closes the connection.
QUIT