They can make it illegal to privately hold gold. Wouldn’t be the first time in history.
Good luck trading your gold for goods and services under these conditions.
Btw it is estimated that the last time gold was declared illegal, only about 5% of gold owners gave it up.