What in the situation do you believe is illegal?
What is the reason you were given when you asked why they want you to resign?