# remove-proxies (/docs/tx/remove-proxies)

A cleanup/panic switch: all delegates lose access in one call and all proxy
deposits are returned. Careful if this account spawned pure proxies — they
are controlled *through* delegations, so removing everything can strand them
permanently (there is no key to recover a pure proxy with).

| Signer    | Pallet | Wraps                  |
| --------- | ------ | ---------------------- |
| `coldkey` | Proxy  | `Proxy.remove_proxies` |

## Parameters [#parameters]

This operation takes no parameters.

Address parameters (`--hotkey`, `--coldkey`, `--dest`, ...) accept a raw ss58
address, an address-book or proxy-book name, or a local wallet/hotkey name.

## CLI [#cli]

Preview with `--dry-run` (shows fee, effects, and policy result without
submitting), then submit:

```bash
btcli tx remove-proxies --dry-run
btcli tx remove-proxies -w my_coldkey
```

## Python [#python]

```python
import bittensor as sub
from bittensor.wallet import Wallet

wallet = Wallet(name="my_coldkey", hotkey="my_hotkey")
intent = sub.RemoveProxies()

async with sub.Client("finney") as client:
    plan = await client.plan(intent, wallet)   # fee, effects, policy — no submission
    result = await client.execute(intent, wallet)
    if not result.success:
        print(result.error.code, result.error.remediation)
```

Or build it by op name, as an agent would:

```python
await client.execute_tool("remove_proxies", {...}, wallet)
```
