> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-style-guide-models-runs-20260604-113608.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Stop runs

> Stop runs programmatically using the W&B Python SDK or manually from the W&B App.

Stop a run when you no longer need it to log data. For example, if an experiment produces unwanted results or you want to free up resources, stop the run. You can stop a run programmatically with the W\&B Python SDK or interactively in the W\&B App.

<Tabs>
  <Tab title="Python SDK">
    If you have direct access to the terminal or code editor running the experiment, use this approach.

    1. Go to the terminal or code editor where you initialized the run.
    2. Press `Ctrl+D` to stop the run.
  </Tab>

  <Tab title="W&B App">
    To stop a run remotely from the W\&B UI, use this approach.

    1. Go to the project that your run is logging to.
    2. Select the run you want to stop within the run selector.
    3. Select the **Overview** tab.
    4. Select the **Stop** button next to the **State** field.

    Next to the **State** field, the run's state changes from `Running` to `Killed`.
  </Tab>
</Tabs>

See [State fields](/models/runs/run-states) for a full list of possible run states.
