Retrograde amnesia is a type of amnesia in which a person is unable to access memory or information which was experienced or learned before the onset of disease or injury.
The information or memory which is forgotten can be very specific such as a single event, or it can be more general.
Similarly, the main character was thrown from a galloping horse due to which she got a head injury which resulted in retrograde amnesia.