> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.10/onboard-cortex-xsoar/cortex-xsoar-installation/troubleshoot-your-installation/shut-down-cortex-xsoar.md).

# Shut down Cortex XSOAR

Shut down Cortex XSOAR 8.10 On-prem from the textual UI.

You may need to shut down Cortex XSOAR in order to perform maintenance or troubleshooting activities.

You can gracefully shut down or reboot a cluster by selecting the **Shutdown/Reboot** menu item from the textual UI.

{% hint style="info" %}

### Important

* Do not reboot Cortex XSOAR or do a hard shutdown if it is not working properly. Instead, [download a log bundle](/cortex-xsoar-8-on-prem/8.10/troubleshoot-and-reference/troubleshoot/access-logs-and-log-bundles.md) and perform a graceful shutdown from the textual UI menu. [Open a support session](/cortex-xsoar-8-on-prem/8.10/onboard-cortex-xsoar/cortex-xsoar-installation/troubleshoot-your-installation/open-a-support-session.md) for assistance.
* When performing shutdown or reboot on any single node in a three-node cluster, at least two nodes must be online and in healthy status.
* You must shut down or reboot one node at a time. Shutting down or rebooting two or more nodes at the same time is not possible and would possibly crash the app cluster.
* Ensure one node has finished its complete boot-up sequence and is online and in healthy status before initiating shutdown on another node.
* Before shutting down or rebooting a node, you must first drain it to ensure the node stops accepting new work before going offline.
  {% endhint %}

**Perform graceful shutdown (one node at a time)**

1. Drain the node you want to shut down.
   1. From the textual UI menu in your VM, select **Cluster Administration**.
   2. Select the IP address of the node you want to drain.
   3. Select **Drain**.

      In the list of nodes in the **Cluster Administration** menu, the node IP will display as **Ready,SchedulingDisabled**.
2. Shut down the node.
   1. From the textual UI menu in your VM, select Shutdown/Reboot → **Shutdown**.
   2. Wait for the node to completely shut down.

**Perform graceful reboot (one node at a time)**

1. Drain the node you want to reboot.
   1. From the textual UI menu in your VM, select **Cluster Administration**.
   2. Select the IP address of the node you want to drain.
   3. Select **Drain**.

      In the list of nodes in the **Cluster Administration** menu, the node IP will display as **Ready,Schedulable**.
2. Reboot the node.
   1. From the textual UI menu in your VM, select Shutdown/Reboot → **Reboot**.
   2. Wait for the node to completely restart.

**Monitor node status before and after shutdown or reboot**

Before initiating a graceful shutdown or reboot, you can use the textual UI menu in the VM to check the node list under **Cluster Administration**. A node is considered safe to shut down/reboot only after it has been successfully drained, changing its status to **`Ready,SchedulingDisabled`**. For more information, see [Manage nodes in a cluster](/cortex-xsoar-8-on-prem/8.10/onboard-cortex-xsoar/cortex-xsoar-installation/post-installation/optimize-performance-and-robustness-from-the-textual-ui/manage-nodes-in-a-cluster.md).

After shutdown or reboot, you can check the node's health and status from the **System Diagnostics** page, where the **Active Nodes Snapshot** widget lists all nodes and their status (for example, Connected or Disconnected). For more information, see [View system status in the System Diagnostics page](/cortex-xsoar-8-on-prem/8.10/troubleshoot-and-reference/troubleshoot/view-system-status-in-the-system-diagnostics-page.md). You must confirm the node has finished its complete boot-up sequence and is online and in healthy status before acting on another node.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsoar-8-on-prem/8.10/onboard-cortex-xsoar/cortex-xsoar-installation/troubleshoot-your-installation/shut-down-cortex-xsoar.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
