---
title: daemon stop
sidebar_label: stop
---

import VersionLabel from '@site/src/components/Docs/VersionLabel';

<VersionLabel version="2.2.0" header />

The `moon daemon stop` command will stop the running daemon process. It first attempts a graceful
shutdown, and if the daemon does not exit within a few seconds, it will be forcefully killed. Daemon
files (PID, socket) are cleaned up automatically.

```shell
$ moon daemon stop
```

If the daemon is not running, a warning is displayed and no action is taken.

:::info

View the official [daemon guide](../../guides/daemon) for more information on how the daemon works.

:::
