You will 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 unclicked the 'Active' checkbox and click save -->
The account showed look like this once you have deactivated it.