Afterpiece has 2 different meanings across 1 category:
Noun
a brief dramatic piece (usually comic) presented after a play
An additional work following the main work; especially, a minor entertainment performed after a play.