• You can simple exit SSH session by typing and executing exit.
  • The same command also for closing currently active terminal if there is no SSH session active.