This is an example of how you should disconnect from the server, the applications on the server will still be running and the VPS or Dedicated server will remain active.