> 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="https://2737724165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4q1VmrV9tKrttNrIIhP1%2Fuploads%2FSaCAaES2bS70nOJpjEqT%2FScreen%20Shot%202023-09-18%20at%2011.13.08.png?alt=media&amp;token=67979ca9-a43a-4902-a858-d97c8b52fd74" 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="https://2737724165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4q1VmrV9tKrttNrIIhP1%2Fuploads%2FbIvrUzWVL8lM3dhGIQmK%2FScreen%20Shot%202023-09-18%20at%2011.15.18.png?alt=media&amp;token=863234d5-9bf7-4645-bc19-b4a956124dfb" alt=""><figcaption><p>Choose to repay or repay and withdraw your NFT</p></figcaption></figure>
