what happens now to the money kept in those wallets?

BTC's are not stored in wallets, but on the blockchain. Since it is a self custodial wallet, in which users are in control of their funds through their seed phrase, all they need to do is to import their wallet into a different software to access their funds. Nothing is lost.