I can't read any of your contracts from where I'm sitting, so I have no way of telling you what you have committed to do, what contractual basis your employer has for imposing any sort of consequence, or whether that consequence is consistent with the law. You will need to have your documents reviewed by a lawyer.
Meanwhile, unless you're already working for a new H1B employer or have found another way to obtain and maintain lawful status, you need to return to your nation of origin.

