Only valid within the body of when. The cancel command cancels any signal that might have been delivered, and lets the process continue. For example:
when sig SIGINT { echo signal info; cancel; }