If used serverside, it shuts it down, and disconnects all players with the message "Server shutting down". If used clientside, will disconnect the client from the server he's currently connected to.
Additional Notes
The server will autorestart unless halted afterwards on Linux.