What should you do if your country bans Bitcoin and you want to keep it safe?
You just mentioned the country bans Bitcoin, meaning: the country doesn't prohibit wallets or exchanges, so you can still store your Bitcoins in any exchange or wallet you want, because they only ban Bitcoin or you can buy other types of crypto that are not prohibited by your country.
Unless: you mention that your country prohibits all types of crypto including access to buy/sell wallets and exchanges, it's clear you have to quickly sell and make fiat money before your country prohibits, safer for you, meaning : your country is not allowed to buy/sell crypto in any form, if that happens, your cold wallet and hard wallet are still not safe.