Open multiple accounts and when one starts acting up change it out for another. Always have several bank accounts at the ready.
Every transaction you make has risk, counter party risk extends to your financial institution as well.
You should be running drills every quarter and randomly switching up your bank. Don’t be a victim when you have engineering solutions to these problems!
If you have money in an account at a bank for business operations, keep that in a completely separate bank and legal entity than the one with a risky transaction profile. Use an intermediary bank to receive deposits from the likely to close bank account that transfers money out immediately to your operational account, and make sure it’s at a competitor. Banks don’t share info and you can take advantage of slow processes and communication delays to give enough time to fix problems with a flaky bank before they impact your business. Think of it like a firewall for your business.