The wallet of a centralized exchange can be frozen, so the bitcoins in the wallet will also be frozen.
However, because of the anonymity of the blockchain and the characteristics of distributed accounting, the Bitcoin of the cold wallet cannot be frozen unless someone else uses illegal means to force you to surrender your private key.
Why is there a Bitcoin slogan: Your money is your money. Bitcoin makes us truly masters and free.