Forswear is a verb meaning 1) to make a liar of oneself under, or 2a) to reject, deny, or renounce under oath, or 2b) to renounce earnestly.
The prosecutor was blindsided when the star witness forsworn herself on the stand about the defendant’s whereabouts on the night of the crime.