In the event of a failure of a purchaser to comply with any of the terms of his or her contract of purchase, the department may cancel such contract, and thereupon be released from all obligations, at law or in equity, to convey the property, and the purchaser shall forfeit all right thereto. All payments theretofore made shall be deemed to be rental paid for occupancy. Upon such forfeiture, the department shall take possession of the property covered by such contract, and shall remove all persons and personal property therefrom without any liability whatsoever on the part of the department or of any official or employee thereof for any damage or injury caused by or incident to the entry or removal. The failure of the department to exercise any option to cancel or to exercise any other privilege under such contract for any default shall not constitute a waiver of the right to exercise such option or privilege for any other default on the part of the purchaser. The department shall allow a stock cooperative, as defined in subdivision (m) of Section 1351 of the Civil Code, the opportunity to cure any failure by a purchaser described in this section.
Ca. Mil. and Vet. Code § 987.77