take the resignation letter and go to labour law. they will solve the problem. And if this problem takes longer to solve, be advised that the company will have to pay for your salary and benefits (as stated by your contract) for as long as it takes the labour court to solve the issue.

just copy paste the above into an email and send it to your HR... they will send you home without any fuss :)