To unlink a YNAB account, go to the Debt Details page for the account and scroll to the bottom. Click on the Unlink Account button. Repeat the process for each account you would like to unlink
If you would like unlink all of the YNAB accounts, you can go to My Account > Reset/Delete Account and choose the YNAB Sync Info option only.