A contract is usually meant to protect the person who draws up the contract - to cover THEIR a$$. Sometimes, the contract will have a termination or escape clause. If she didn't agree to the terms or the contract, she should not have signed it in the first place.
As my mother always told me... Always read the contract fine print carefully before you sign anything... you have to know what you're signing and what legal rights you are giving up as a result.
I think she'll need to read the fine print and see if she has any recourse - usually with the local Dept of Fair Trading and Small-Claims Court (or whatever it's called in your country).