You can refuse to resign. Let them terminate you which can be challenged before the appropriate court. If you are able to get the relieving letter and also find another job then forego the idea of a courtroom battle the result of which is always uncertain.