The principal of a law college in Maharashtra's Palghar district has resigned alleging she had been "harassed" by the management for wearing a hijab after a controversy over the head scarf erupted in Karnataka, a charge denied by the institution's administration.