I think you will have a kind of contract with the country government, school and you. If you don't come back then you brake this contract and I think you get punishment, probably pay back the studying costs, depending which country you talking about get also maybe imprisonment.