Answer: Role playing
Explanation: Role playing is the act of changing the behavior of an individual by supposing them to be playing a role. role-playing can happen in conscious manner by opting to play supposed role or in unconscious manner for social role fulfillment.
The situation mentioned in the question also describes about the role playing of the subjects in the unconscious state .As soon as they are out of hypnotized state they stop the role playing.
.