That is not a good thought, is it...

I'm sorry you experienced this. Surely it sounds like you dissociated, but would be more of a flashback, if you had been in this situation sometime prior in your life. How long ago did your T dx you? Not all ppl with DID also suffer from PTSD
You might be going too fast in therapy. Be sure to talk to the T about this occurrence...and ask about slowing down in sessions. Sometimes slower is faster because it won't cause the horrible flashbacks etc. (Meaning, don't cover so much material, memories etc in therapy sessions, limit how much you talk about.)
TC