she would have been smart to turn around and leave.
I think the way they have it setup is you cannot leave one in line. Besides, leaving would attract even more attention to her and a possible search.
She did not break the "sterile" area of security, so she will not be punished. She might not get her firearm back, though.