A standup comedy term used to describe a portion of a comic's set in which he physically and/or using a character's voice describes the character in the joke.
If you act out before someone you know passes without knowing they were going to pass, your subconscious may be trying to give you a sign or preparing yourself for the hurt to come.