Well then you just get it taken when you use it to buy things and get thrown in jail for not complying with a court order.
I mean this is already a silly scenario where you’ve got married to someone you have an intensely adversarial relationship with and tried to hide all your assets by making them unusable.