> For the complete documentation index, see [llms.txt](https://docs.jpegd.io/jpegd-dao/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jpegd.io/jpegd-dao/cdp-lending-guides/borrowing/close-a-position-and-withdraw-collateral.md).

# Close a Position and Withdraw Collateral

In order to close a position, you must repay any outstanding loans taken. This can be done with the repay option on the **Dashboard** screen. This process will burn borrowed synthetic from the circulating supply.

Closing a position is easy and can be done in a few simple clicks. Watch the tutorial, or follow the steps below.

{% embed url="<https://youtu.be/ZzXiIlfTMFo>" %}

### Select the NFTs you want to repay debt for and withdraw:

<figure><img src="/files/45kivAcWcCrK8c4uN3N9" alt=""><figcaption><p>Repay debt on the selected NFTs</p></figcaption></figure>

Confirm repayment and withdrawal, which will happen in one transaction, closing your position and sending the NFTs back to your address.

<figure><img src="/files/XK8RYcZUzTnFLT5dxMeN" alt=""><figcaption><p>Choose to repay or repay and withdraw your NFT</p></figcaption></figure>
