I think there is a simpler explanation. All our thoughts are driven by needs. When needs for safety are not met in a particularly overwhelming fashion, it gets stuck in our minds as trauma--meaning we are in a constant state of anticipating it might happen again. All our thoughts, feelings, and beliefs just follow from that fear and trying to protect ourselves from that outcome.
What you imagined was a scenario where your needs for protection/safety were completely met--you were protected and the trauma never occurred. As the emotional part of our brain sees imagination and memory as the same, this resolved the trauma.
Being internally aligned may have made the concentration to do that easier, but I think it's the strength of your imagining and your felt sense of your need for safety being met that changed the way your brain stores the memory (moving it from the amygdala/danger center to the hippocampus/long term storage).
In other words, your body was stuck in a constant state of needing to experience safety, and your imagination made that experience of safety happen (by imagining throughly enough for it to *feel* real), which met that need to experience safety.