The phenomenon in which behaviors that are conditioned only sometimes, thus causing them to be more resistant to extinction, is known as PARTIAL REINFORCEMENT.
Shani is experiencing retrograde amnesia
Retrograde amnesia is a condition in which there is memory loss of events that took place in the recent past before the onset of an illness or an injury. Retrograde amnesia makes an individual to forget past events as opposed to new ones. This condition can be caused by devastating events, surgeries, brain injuries, infections, or shock therapy. The symptoms of retrograde amnesia are confusion, coordination issues and wrong memories.