A Maine high school student decided it was more important to take a stand and not walk during her graduation ceremony instead of obeying administrators and not wearing a decorated graduation cap.

Natasha Miller decorated her cap in memory of a classmate who died of cancer, according to WABI.

>> Read more trending stories  

Students were told they were not permitted to decorate the mortarboard last week, but despite the rule, Miller arrived at the ceremony Sunday with the decorations.  She was asked to remove them, but refused.

She left, with her diploma, but without the ceremony.

The district's superintendent told WABI, "I think the expectations were clearly stated well in advance.  I don't think we were asking students to comply with anything that was unreasonable," Rhonda Sperrey said.

Sperrey said the student who died was honored in the yearbook with photos and a ceremony earlier in the school year.

Miller said, "I wish I would have been able to march with my class, but I would much rather have what I did.  What I did was the right thing I felt in my heart, so I just decided to take my cap and leave."

To watch the story, click here.