If your Country bans Bitcoin, transfer your Bitcoin to a wallet of a foreign country. If you want to cash in, then use third party services like Virwox to get USD in Paypal, then use Paypal to get cash in your local currency.
Bitcoin is like Torrent, peer to peer and you cant block it. If you have access to internet, You can use Bitcoin anytime, anywhere!
Yes if your country banned bitcoin and still you are interested to continue investing money in bitcoin then you should move to such places, where bitcoin is not ban and where you can easily and freely use bitcoin, bitcoin is in fact the need of the day and even those countries who have ban it will surely start accepting it as legal currency.