Disconnecting the bank account will remove the transactions that weren't added to your QuickBooks register, user98017.
Make sure you manage these transactions before hand.
Now, here's how to disconnect the bank account from QuickBooks Online:
You can also refer the screenshots below.
I'll be right here if you have more questions about this. Have a great day!