# stop

[[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/Stop.cpp)

Gracefully shuts down the server.

*The `stop` method is an [admin method](/docs/references/http-websocket-apis/admin-api-methods) that cannot be run by unprivileged users!*

### Request Format

An example of the request format:

WebSocket

```json
{
    "id": 0,
    "command": "stop"
}
```

JSON-RPC

```json
{
    "method": "stop",
    "params": [
        {}
    ]
}
```

Commandline

```sh
#Syntax: stop
rippled stop
```

The request includes no parameters.

### Response Format

An example of a successful response:

JSON-RPC

```json
{
   "result" : {
      "message" : "ripple server stopping",
      "status" : "success"
   }
}
```

Commandline

```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005

{
   "result" : {
      "message" : "ripple server stopping",
      "status" : "success"
   }
}
```

The response follows the [standard format](/docs/references/http-websocket-apis/api-conventions/response-formatting), with a successful result containing the following fields:

| `Field` | Type | Description |
|  --- | --- | --- |
| `message` | String | `ripple server stopping` on success. |


### Possible Errors

* Any of the [universal error types](/docs/references/http-websocket-apis/api-conventions/error-formatting#universal-errors).