First of all, i hope someone in RL is available for you to help cope w/ this, it sounds as though this was quite a nasty surprise for you. I'm certainly no expert, but what you describe sounds very much like a PTSD "flashback", where your mind overrides your senses, to replay a traumatic event. From vets i've known that have had this experience, the first time was incredibly frightening for them, they began questioning their sanity, and struggled to re-draw their mental line between past and present, internal and external. It could be the TV show dialogue was a trigger in the strongest sense, rather than simply creating anxiety or anger, it led to a full-blown flashback. My vet friends have not eradicated these experiences completely, but through years of dealing w/ them have found various coping strategies to lessen their impact. Don't panic or despair over this, but certainly don't minimize it once you've calmed down; if this is what is happening to you, the more honest you can be w/ someone you feel safe with, the better your chances for managing this aspect of your recovery. Stay safe, we're there for you 100%!
Give sorrow words: the grief that does not speak
Whispers the o'er-fraught heart and bids it break.
-William Shakespeare, Macbeth, Act IV, Sc. III