> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Stopping and Uninstalling Package Security Manager (On-prem)

## Stopping Package Security Manager

To stop your containers, run the following command. This action will not remove your containers, but simply stop them:

```sh theme={null}
docker compose stop
```

To start your containers, run the following command:

```sh theme={null}
docker compose up -d
```

## Uninstalling Package Security Manager

<Warning>
  Make sure you [back up](./restore) logs, the artifacts database, and the postgres database before uninstalling.
</Warning>

To remove Package Security Manager package data, log in with the same user profile you used to install Package Security Manager and run the following commands in the terminal where Package Security Manager is installed:

```sh theme={null}
# Replace x.x.x with your current version of Package Security Manager
cd ate-x.x.x-installer
docker compose down
rm -rf /opt/anaconda/repo
```

To perform a complete uninstall that deletes both the Package Security Manager application and configuration (as opposed to just deleting package data), run the following command as well:

```sh theme={null}
# Replace x.x.x with your current version of Package Security Manager
rm -rf ~/ate-x.x.x-installer
```
