He tried to contain her

Could anyone tell me what context could "He tried to contain her" fit in?

thanks

It was a dark and stormy night as she pulled her arms free of the man behind her. He tried to contain her but was amazed at how strong this girl was. She pushed him back hard against the bar.

He tried to contain her but the AMEX bill was way too much for him to pay so he ripped up the card.

From Merriam-Webster:

Contain -- 1 : to keep within limits: as a : RESTRAIN, CONTROL b : CHECK, HALT c : to follow successfully a policy of containment toward d : to prevent (as an enemy or opponent) from advancing or from making a successful attack