In kabuki, there was an unwritten rule that performers can banter and joke with one another onstage on the senshuraku day, and they sometimes mock other performers by preparing puns and mischief in advance, but only to the extent that it won't hinder the flow of the play.
千秋楽の日の舞台は歌舞伎などにおいては役者のふざけや冗談が許されるという不文律があり、芝居の流れを壊さない程度で、しゃれやいたずらを用意して共演者をからかうこともある。