disconnect
This command is used for disconnecting from any server. Use the reconnect command to reconnect to the server you were just playing on or the connect command to connect to a new server.
Ex. If you wanted to disconnect from a server you would type the console command disconnect. This will disconnect you from any server.