The same way all contracts work in every civilized country. If you sign a contract and violate it you are penalized in some way, usually that way is specified in the contract (e.g. fined a certain sum of money). Not sure how this can in any way be equated to "slavery".