It is your responsibility to cancel all recurring charges with third parties before closing the bank account you authorized for payment.
Generally, a recurring charge is based on an agreement between you, as the account holder, and the merchant. Because the bank was not a party to that agreement, the bank cannot cancel it for you. You need to instruct the merchant to stop debiting your account before you close the account.