You can approach labour court if you are terminated by company without your resignation. They have privilege to remove your ban. If your are given a resignation letter to company not possible to approach labour court. Best of luck