Mary's behavior is an example of learned helplessness, that is a behaviour pattern of a subject that endures repeatedly aversive, violent or traumatic stimuli and becomes unable to escape or avoid them. The subject has a tendency to not accept escape or avoidance as an option in the future.