# Delete Node

{% hint style="danger" %}
Make sure you already backup your node\_key and priv\_validator\_key, before execute this command&#x20;
{% endhint %}

<table><thead><tr><th align="center">Function</th><th align="center">Command</th></tr></thead><tbody><tr><td align="center">Disable, Delete Node, and Remove all the file</td><td align="center"><p></p><pre class="language-plaintext"><code class="lang-plaintext">sudo systemctl stop planqd &#x26;&#x26; \
sudo systemctl disable planqd &#x26;&#x26; \
rm /etc/systemd/system/planqd.service &#x26;&#x26; \
sudo systemctl daemon-reload &#x26;&#x26; \
cd $HOME &#x26;&#x26; \
rm -rf .planqd &#x26;&#x26; \
rm -rf $(which planqd)
</code></pre></td></tr></tbody></table>
