Stop in for a cup of coffee

A man noted for telling puns was locked into a dark closet, and told he would not be released until he made up a pun about the situation. He immediately shouted, "Oh, pun the door!"