close - Finish your SFTP session but do not quit PSFTP in SFTP

Close is a special command for users.
It will finish the session and giving the window to users for a fresh operation.
It will not terminate the application.

Syntax:
psftp> close


Example:
psftp> open 111.222.33.44
psftp>
psftp> pwd
 /home/user1
psftp> close
psftp: not connected to a host; use "open host.name"
psftp>


pwd - It will print the present working directory in remote server.