# Uninstalling Xerom Nodes

### Introduction <a href="#introduction" id="introduction"></a>

Removing the Xerom node services and data is as simple as disabling the services and deleting the application data. When you disable the services, they still exist on your system but they are not executed upon reboot.

This guide assumes you installed the Xerom Node software as the *Xero* user. If you installed the software as a different user, adjust the instructions accordingly, specifically on the last step replace */xero/* with the username for your *Xero* user.

If you're using Unit/Frontier to manage your node, simply delete it within Unit/Frontier and proceed to the [step which retrieves your stake](#retrieving-your-state).

### Disable Ether-1 Services <a href="#disable-ether-1-services" id="disable-ether-1-services"></a>

Regardless of which node you're running, executing all the following commands will disable all Xerom Node services.

```
sudo systemctl stop xerochainnode
sudo systemctl disable xerochainnode
sudo systemctl stop xeronode
sudo systemctl disable xeronode
sudo systemctl stop xerolinknode
sudo systemctl disable xerolinknode
sudo systemctl stop xerosupernode
sudo systemctl disable xerosupernode
```

### Delete Application Data <a href="#delete-application-data" id="delete-application-data"></a>

Delete all chain data by executing:

```
rm -rf /home/xero/.xerom/*
```

### Reversing The Process <a href="#reversing-the-process" id="reversing-the-process"></a>

If you've changed your mind and want to run the Xerom Node (regardless of type), you can reverse the whole process and return into a fully synchronized and running node by executing:

```
sudo systemctl enable xerochainnode
sudo systemctl start xerochainnode
sudo systemctl enable xeronode
sudo systemctl start xeronode
sudo systemctl enable xerolinknode
sudo systemctl start xerolinknode
sudo systemctl enable xerosupernode
sudo systemctl start xerosupernode
```

### Checking Xerom Service Status

Whether you've decided to stick with your decision to disable the Xerom Node services or decided to enable them again, you can use the commands below to determine their status.

Make sure the Xerom processes are either running or not running by executing:

```
sudo journalctl -f -u xero
```

You should see no records indicating activity if the services are disabled. If you see activity, the services are running.

You can also check the operational status of the Xerom Node services by executing:

```
sudo systemctl status xerochainnode
sudo systemctl status xeronode
sudo systemctl status xerolinknode
sudo systemctl status xerosupernode
```

### Retrieving your State

#### Using the Web Wallet (easiest)

Navigate over to <https://wallet.xerom.org>

Select the **Contracts** tab, select the **Xerom** network, select the node type you’re activating and select **access**

![](https://3156062650-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhA4CnJJnaDc6jzlNAY%2F-LrB97GshlgbbgMaFhUT%2F-LrB9q1ERblIXRBI6TJl%2Fimage.png?alt=media\&token=0dc169d4-edce-4ee8-8ec5-f664e75a7bbc)

Select the function to **remove node**, fill out your private key, **login** and **write** the contract.  This will immediately refund your stake to your wallet.  Contact us in Discord if you do not receive your stake within a minute.

![](https://3156062650-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhA4CnJJnaDc6jzlNAY%2F-LrB97GshlgbbgMaFhUT%2F-LrBAOMch_mg_AkmAARd%2Fimage.png?alt=media\&token=d6127bac-b50a-4845-95da-a819cce12fa7)

#### Using Local Dashboard (coming soon)

Contact us in Discord to get the steps to try this out.


---

# 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://docs.xerom.org/node-setup/uninstalling-xerom-nodes.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.
