It will depend on the policy you choose. Some insurers will have the option to return you to your country of residence if necessary. This is usually available as an additional option.