Go to Accounting > Bank and Registers (tab)
View Bank & Credit Card Accounts
Find the account in question, then click on the 'pencil icon' to edit the account
Ensure that you have unticked the 'Active' checkbox and click save
The account showed look like this once you have deactivated it:
Article is closed for comments.