Nims was this during the night ? Was she asleep prior to this ?
Sounds like Indy may have experienced a night fright.Parrots do not see well at night so if something spooks them in turn they panic. This leads to them flapping and thrashing. A bird’s natural instinct in the wild would be to fly away but since the bird is in a cage ,it normally ends up trying to do this and hits everything within the cage.Ideally you need to turn the light on,some say get your bird out of the cage to reassure them,others say leave them in their cage.Once they have calmed back down, leave a dim light on and let them go back to sleep. Providing your bird some light is the most important thing you can do,Perhaps leave a dim light this evening.
Just be patient with her,this has been traumatic for her,Try to carry on as normal around her