# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pliangroup.gitbook.io/plian/using-the-blockchain/validator-node-guides/removing-candidate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
