Asteismus is a type of pun in which a reply to an original comment or question returns an unlooked for second meaning to something in the original statement.
Asteismus is used frequently in drama.
Q: Do you always play by ear?
A: No. Sometimes I play over there.