# Removing Un-minted Tokens to Cap Total Supply

Sometimes the demand for a collection isn't as high as anticipated, and that's perfectly alright! There's no shame in having a few tokens left over in your public mint supply after a sale.

You can now remove any un-minted tokens from your collection and set a final cap on your public supply.&#x20;

{% hint style="info" %}
When ending a sale phase outside of your public sale phase, the supply will automatically be moved to the public sale supply.&#x20;
{% endhint %}

**Follow the steps below to get started!**

1. First, head over to your smart contract dashboard by navigating to **Launch > Contract.**
2. Look for your **Public Sale** phase. Click on it and select **End Phase.**

<figure><img src="/files/mK1KjyJXc4Wykya5wwpN" alt=""><figcaption><p>Step-by-step video to cap your total supply.</p></figcaption></figure>

3. We take the integrity of your collections seriously. <mark style="color:red;">**Please read the warnings provided**</mark> to ensure you understand the implications of permanently closing your sale.
4. To proceed, type in the name of your collection.
5. Finally, select **Close Sales**. This action will confirm that you are choosing to cap the supply of your collection **permanently.**

{% hint style="warning" %}
**Important Warning:**

Before you make this decision, remember you'll:

* **Prevent Further Minting:** No additional tokens can be minted after permanently closing your sale. This caps your collection.
* **Remove Unminted Tokens:** All the unminted tokens will be permanently removed. They'll vanish, never to be seen again.
* **Irreversible Action:** Think of this as setting your collection in stone. Once done, you won't be able to recover the unminted tokens in the future.
  {% endhint %}


---

# 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.bueno.art/smart-contract-deployer/post-mint/removing-un-minted-tokens-to-cap-total-supply.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.
