How was she forced? Did they torture her?
All she had to do was not say it.
From the article:
When Brinsdon refused to back down she was punished, the lawsuit alleges. She was given an alternative assignment on the Independence of Mexico. The teacher gave her a failing grade and then required the student to sit in class over a period of several days to listen to other students recite the Mexican flag.