Yeah, these exchanges are held liable if the country allows them to operate there. Assuming the country has a reasonable degree of rule of law, you can retrieve your money back because it's their responsibility to ensure security of the exchange. That's why they go through so many measures (but many still aren't strong enough by the looks of it)
Keeping money on the exchange is never guaranteed however, so it's probably best to keep whatever you don't see yourself spending or trading in the next week or so on a cold wallet. That way no one will even know it's there.