A riposte is a clever comeback, one of those witty responses that you usually think after the fact — when it's too late to say them.
Winston Churchill was famous for his skill with a riposte, like when his friend Lady Astor said that if he were her husband, she'd poison his tea, and he responded, "If you were my wife, I'd drink it!" This kind of quick, funny retort is a classic riposte. Originally, the word riposte came from a French word for a certain kind of lunge in fencing, and it still has this same meaning today.