The custodian trustee is just a company, i.e. a separate legal person to the fund. It can continue to exist after it has ceased acting as trustee.
I think you are confusing things with the bank. The bank has nothing to do with the custodian arrangement, it is just that the law stipulates...