You can leave at will if you're not an Australian citizen or a permanent resident. If you are, then you currently need an exemption, e.g for work or business, or you're going to live in another country.
People used to escape communism for such reasons.