You should never, never allow this to happen. Remaining in Australia after the expiry of the visa may be subject to deportation as well as a ban on another temporary visa in the future. If you find yourself in such a situation, seek professional advice immediately from an immigration attorney’s agent or attorney