> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-nodejs/functions/shutdown.md).

# shutdown()

Gracefully stops the SDK. Should be called on application exit to ensure all SDK tasks close cleanly.

```javascript
shutdown()
```

***

## Return Value

Stops the SDK

## Example

```javascript
// example

sdk.shutdown()

```
