Sorry to hear this tale.
Think you have had some good advice particularly off Eastwoodsdustman Covrock and SkyblueBazza. I have a fair amount of experience in this type of thing and would suggest not resigning at present, as I think you would have a strong legal case against the company that...