This is how you rematch a connected bank account to a new Xero bank account:
Go to Bank Accounts under Workflows and settings
Hover over the respective bank account and click on the Three-dot icon:
Select "Rematch Xero bank account"
Find the preferred Xero account, or create a new one via the +NEW XERO BANK ACCOUNT button, then click on MATCH: