# Removing Your Node From the Candidate List

If you would like to remove your node from the Candidate List, use the cancelCandidate function.&#x20;

You can cancel your Candidacy at any time between 0% and 75% of the Epoch.&#x20;

| EPOCH Phase | Operation                       |
| ----------- | ------------------------------- |
| 0%\~75%     | applyCandidate, cancelCandidate |
| 75%\~100%   | Prohibit Operation              |

You can do this through either the RPC or the Javascript console. The process using the console will be shown here.&#x20;

cancelCandidate By RPC [del\_cancelCandidate](https://github.com/pchain-org/pchain/wiki/JSON-RPC#del_cancelcandidate)

cancelCandidate By IPC [del.cancelCandidate](https://github.com/pchain-org/pweb3/wiki/JavaScript-API#web3delcancelcandidate)

{% hint style="info" %}
You will need to first unlock it using:

```
personal.unlockAccount(address, "password", 300)
```

{% endhint %}

In the Javascript Console:

```
var from = "0xB3544059698177F14968D29A25AFD0D6D65F4534";
var gasPrice = null:
web3.del.cancelCandidate(from,gasPrice);
0xab258f6c0d3cbcf1e8b2735033045147e23db1577917cc6f0c95ee9747aaffcf
```

Once canceled, your staked PI will be unlocked and all the delegated tokens you received will be automatically returned to each delegator once the Epoch reaches 100% height. If you were not in the validator pool, the cancelation will be effective immediately since there are no Validator duties to be completed, and your staked PI will be unlocked, and all the delegated tokens you received automatically returned to each delegator balance.
