---
title: Shut down the deployment
description: To shut down the deployment and remove all VMs and data, run the stop.sh command. When you shut down the deployment, all the VMs along with the data is deleted.
component: pingintelligence
version: 5.1
page_id: pingintelligence:pingintelligence_production_deployment:pingintelligence_shut_down
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/pingintelligence_production_deployment/pingintelligence_shut_down.html
revdate: April 3, 2024
---

# Shut down the deployment

To shut down the deployment and remove all VMs and data, run the `stop.sh` command. When you shut down the deployment, all the VMs along with the data is deleted.

```
[pi-api-deployment]# ./bin/stop.sh
Please see /opt/pingidentity/pi-api-deployment/logs/ansible.log for more details.
```

To verify whether the deployment was successfully stopped, check the `ansible.log` file:

```
[pi-api-deployment]# tail -f logs/ansible.log
====================================================================================
Current Time: Sun Jun 07 07:23:11 EST 2020
Starting stop scripts
====================================================================================
Sun Jun 07 07:23:11 EST 2020: Play stop setup
PLAY RECAP ***
192.168.11.124 : ok=2 changed=1 unreachable=0 failed=0
192.168.11.145 : ok=2 changed=1 unreachable=0 failed=0
192.168.11.146 : ok=2 changed=1 unreachable=0 failed=0
192.168.11.148 : ok=2 changed=1 unreachable=0 failed=0
192.168.11.149 : ok=4 changed=3 unreachable=0 failed=0
Sun Jun 07 07:32:53 EST 2020: Stop successful
====================================================================================
```

Manually remove the PingIntelligence component service scripts from `/etc/systemd/system/pi-*` location.
