It is estimated that we should cancel the stock account, or not cancel it, and then open a fund management account, and then buy and sell index funds through this fund management account. Note that even if the fund is fully redeemed, the fund account still exists and can be used next time.
I bought a fund and wanted to cancel my bank card after I sold it, but the counter attendant said that I would go to the branch where I opened the fund wealth management account, and then I could cancel my card.