Go to Bookkeeping > Transactions.
Click the Edit ✎ icon to the right of the bank name, then click Edit account info.
Check the box that says Disconnect this account on save.
Click Save and Close.