Disconnect Method
Disconnects from the RemoteHost .
Syntax
async rshell.disconnect(): Promise<void>
Remarks
This method disconnects from the RemoteHost. Calling this method is normally unnecessary, unless you wish to interrupt the remote program, or the remote program is waiting for standard input to end before terminating.