To close a remote session,
restore the connection panel and click or press CTRL+D.
The remote session will close, and a connection window will be displayed.