Corpsing (British theatre slang) occurs when an actor inadvertently laughs or smiles during a performance, breaking character. The term likely derives from the idea of "making a corpse laugh"—the ultimate inappropriate response.
Disrupts the performance, breaks the illusion, can embarrass the actor or ruin a scene's tension.
Even great actors corpse. The mark of a professional is recovery—staying in the moment and bringing the scene back.