# stop

The cldkctl notebook stop command stops a running Jupyter Notebook instance by specifying its name. This command gracefully shuts down the notebook, preserving data while releasing allocated resources such as CPU, memory, and GPU

## Usage

```
cldkctl notebook stop [name] [flags]
```

## Aliases

```
stop, turn-off, off, shutdown
```

## Steps

Follow the steps below to run and view the result of this command:

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FcEtip3qOsS0jTWiGQ93g%2Funknown.png?alt=media&#x26;token=6a2ba392-2c5f-400b-8093-555126bc33f2" alt=""><figcaption></figcaption></figure>

1. If your organization has multiple notebooks, identify the Notebook Name from the Notebook List section.
2. Run the following command in your terminal, and replace \<notebook name> with the name of the notebook you want to stop:

```
./cldkctl notebook stop <notebook name>
```

3. If your notebook is running in a different namespace, include the --namespace flag followed by the namespace name.
4. Wait for the system to gracefully shut down the notebook.
5. Once the process completes successfully, the terminal displays the message “✔ Notebook stopped”.

To verify the notebook’s current state, refer to the Notebook List section.

## Flags

{% hint style="info" %}
This command supports [global flags.](https://docs.cloudeka.ai/cloudeka-api-list/global-flags) Refer to the Global Flags section for details
{% endhint %}

| Flag                   | Description                                           |
| ---------------------- | ----------------------------------------------------- |
| -h, --help             | Help for the stop command.                            |
| -n, --namespace string | Specify the cluster namespace to scope the operation. |
| -p, --project string   | Specify the project ID.                               |
