I've had similar flashbacks during session. You will get past this. It is overwhelming when and right after it happens, but my T was always completely understanding and our relationship was really completely unaffected beyond that first awkwardness. It will be okay.