Crisis on Infinite Earths Vol 1 10

Crisis on Infinite Earths is a comic book published by DC Comics in 1986, it is part of a 12 issue maxi series that is considered one of the most important comic book events in history. The plot led to the end of the DC Comics multiverse and to the creation of an unique earth were all heroes lived together.

Mary Marvel appears as a damsel in distress.

Story
Coming from number 9 of the same series, the comic book continues the war between heroes and villians that started after all the supervillians in the multiverse conquered the three earths with least heroes and demand surrender of the last two if they want to avoid the destruction of all of them.

In this issue we find that Earth-S, the house of the Marvel Family, has become frozen and that all the heroes in that earth are tied up with rope and OTM gagged preventing them from summoning their powers, among them is Mary Batson, the only visible female.

Mary, with her family and friends, is tortured by Phobia who makes her see frightening visions while she is helpless to do nothing.

The imprisoment of the heroes ends as Martian Manhunter and Platinum storm the villians lair and Atom finds the main hero of that earth, Billy Batson, ungagging him and allowing him to become Captain Marvel.

It is unkown if Mary Marvel was untied by Atom or Captain Marvel after that, altought it would be safe to assume Atom continued his task of releasing them.

Shortly after that the war ended after the powerful Spectre appeared and warned of a bigger threat that menaced both heroes and villians.