The answer is the same to both of these comments. You store your gold in a safe foreign jurisdiction with a well-established rule of law in a secure private non-bank vault, e.g., Switzerland, Singapore, Cayman Islands, etc. Ideally, you split your gold up between several of these jurisdictions, just to be doubly safe.
Then you move your︀ person, not your gold. If you cannot trust having your gold in your home︁ country, why would you trust your government to leave you unmolested during a crisis? It︂ is far more simple to move yourself, than to move your gold. That is why︃ having multiple residencies and citizenships is so important.
Leaving a year too soon is far︄ better than trying to leave a day late. Read the tea leaves. It is a︅ little-known fact that the n**i regime tried everything that it could to force as many︆ Jews as possible to leave n**i Germany. It wanted them gone. All the Jews who︇ listened to that message survived. Those who ignored that message perished. The message was quite︈ clear. Just as Putin's message was quite clear: a guarantee that Ukraine will never join︉ NATO or my guarantee that I myself will make that happen.
Learn to listen. Then︊ visit your gold.