> For the complete documentation index, see [llms.txt](https://documentation.botghost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.botghost.com/custom-commands-and-events/actions/music-actions/stop-music.md).

# Stop Music

{% hint style="warning" %}
This action requires a [Premium Subscription](/premium/premium-and-priority-hosting-plans.md#premium-plans) to function.
{% endhint %}

<figure><img src="/files/322pLrwUp0uGISkTdR2X" alt=""><figcaption></figcaption></figure>

The Stop Music action lets you stop any music track that's playing.&#x20;

## Server

This setting allows you to target a server. You have two options to select from:

{% tabs %}
{% tab title="Current Server" %}

<figure><img src="/files/AwoU2UKcfbmtcE9P6qob" alt=""><figcaption></figcaption></figure>

When you select the 'Current Server' option, the music track of the current server will be stopped.
{% endtab %}

{% tab title="Server ID" %}

<figure><img src="/files/BL5Y9J0bEnnF8I9pqxZZ" alt=""><figcaption></figcaption></figure>

When you select the 'Server ID' option, the music track of the provided server ID will be stopped.&#x20;

#### Server ID

In this field you can enter the ID of the server where you want to stop the music track. Variables can be used in this field.&#x20;
{% endtab %}
{% endtabs %}

## Clear Queue

<figure><img src="/files/rTaPTZzNGjTDPYFWAB17" alt=""><figcaption></figcaption></figure>

In the clear queue option you can choose whether or not you want to clear the server's queue when stopping the music.&#x20;

## Disconnect from Voice

<figure><img src="/files/XximUweo0sMeQiSmkWne" alt=""><figcaption></figcaption></figure>

In this option you can choose whether or not you want to disconnect the bot from the voice channel after the music has been stopped.&#x20;
