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

# Terminate on Tencent Cloud

> How to permanently terminate a CVM instance running OpenClaw on Tencent Cloud

This guide covers terminating a Tencent Cloud Virtual Machine (CVM) instance. Tencent Cloud has two billing modes that affect how termination works:

* **Pay-as-you-go instances** are terminated and released immediately.
* **Prepaid (subscription) instances** are moved to the recycle bin first. They are held for 7 days by default, then permanently deleted. You can manually purge them from the recycle bin to release resources immediately.

<Warning>
  Complete the [pre-termination checklist](/security/terminate-instance#pre-termination-checklist) before proceeding. Termination is irreversible once the instance leaves the recycle bin.
</Warning>

***

## Option 1: Tencent Cloud Console

<Steps>
  <Step title="Open the CVM console">
    Sign in to the [Tencent Cloud CVM Console](https://console.cloud.tencent.com/cvm/instance) and navigate to **Cloud Virtual Machine → Instances**.
  </Step>

  <Step title="Select the correct region">
    Use the region dropdown at the top of the page to select the region where your instance is running.
  </Step>

  <Step title="Select your instance">
    Check the box next to the CVM instance running OpenClaw. Confirm the correct instance by checking its public IP address against what appeared on the watchboard.
  </Step>

  <Step title="Terminate the instance">
    Click **More → Instance Status → Terminate/Return**. Review the warning dialog and confirm.

    * **Pay-as-you-go**: The instance moves to Terminated state immediately.
    * **Prepaid**: The instance moves to the Recycle Bin. To permanently delete it, go to **Recycle Bin**, select it, and click **Purge**.
  </Step>
</Steps>

**Official Tencent Cloud documentation:** [Terminating/Returning Instances](https://www.tencentcloud.com/document/product/213/4930)

***

## Option 2: Tencent Cloud CLI (TCCLI)

If you have [TCCLI](https://www.tencentcloud.com/document/product/1013/33463) installed:

```bash theme={null}
# List instances to find the instance ID
tccli cvm DescribeInstances --region ap-REGION

# Terminate an instance (pay-as-you-go)
tccli cvm TerminateInstances \
  --region ap-REGION \
  --InstanceIds '["ins-XXXXXXXXX"]'
```

For prepaid instances, termination moves them to the recycle bin. Use `ReturnNormalInstances` to initiate return of a prepaid instance:

```bash theme={null}
tccli cvm ReturnNormalInstances \
  --region ap-REGION \
  --InstanceId ins-XXXXXXXXX
```

**Official Tencent Cloud API reference:** [TerminateInstances](https://www.tencentcloud.com/document/product/213/15723)

***

## Post-termination cleanup

### Purge from recycle bin (prepaid instances)

Prepaid instances moved to the Recycle Bin still hold resources. In the console, go to **Recycle Bin → Cloud Virtual Machines**, select the instance, and click **Purge**.

### Release Elastic IPs (EIPs)

Elastic IPs continue to incur charges when unassociated after instance termination. In the console, navigate to **Virtual Private Cloud → IP and ENI → Elastic IPs**, select the EIP, and click **Release**.

### Delete CBS (Cloud Block Storage) data disks

Data disks attached to the instance are not deleted automatically on termination (the system disk is deleted). In the console, navigate to **Cloud Block Storage**, filter by Status = "Available" to find unattached disks, and delete them.

### Delete custom images and snapshots

If you created any images or snapshots from this instance, navigate to **Images** or **Snapshots** in the CVM console and delete them.

***

## Rotate credentials

After termination, rotate everything the agent had access to. See the [post-termination checklist](/security/terminate-instance#post-termination-checklist) for the full list.
