# How to withdraw the remaining tokens from your presale?

## Step By Step Guide

1. Go to the presale page as the **Owner** of the presale, you should be able to see a **Manage** tab at the top of the screen, click on it to go the management UI for your presale.&#x20;

![Note: If you don't see this button make sure that your wallet is connected and that it's the owner wallet that created the presale.](/files/95Ul1vQYzKR7KIfVkK8g)

2\. Click on the green **Withdraw Leftover Tokens** button in the **Manage Presale** section of the management UI.&#x20;

![This button will be disabled if you're not eligible to withdraw the tokens](/files/3AfnUGn9wpbhOSld9VHp)

3\. A popup should appear with details about the action you're about to perform, click **Withdraw** on the warning popup.<br>

![make sure you read the text](/files/szTUUHm4dvI3CFPOg5yF)

4\. When your wallet prompts you, make sure to confirm the transaction, then wait a few seconds for the transaction to go through and a green toast toast to appear in the top left corner indicating the success of the operation.

## FAQ

*Q - The transaction went through successfully but nothing happened?*

A - Make sure your presale is either **Failed**, **Cancelled** or **Finalized**, otherwise the tokens will remain on the smart contract.

*Q - When I click **Withdraw** in the popup an error appears that says "PS-ERR-1041", what does this mean?*

A - It means the remaining tokens have already been withdrawn by the owner of the presale, double check using a scanner website such as BSCscan to check if there are indeed remaining tokens.


---

# 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.swapx.co/swapx/features/token-presales/how-to-withdraw-the-remaining-tokens-from-your-presale.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.
