This hypnotic experience is known to be posthypnotic suggestion. This occurs when patients or subjects are given suggestions on what to do after waking up from the trance. This is done while in a hypnotized state. The action is usually triggered by a cue also suggested while being hypnotized.