Came across this* in a story I'm copy editing.
A 52-foot-tall replica of Bobby the Robot officially starts the event by doffing his top hat in a salute to this year’s theme, “Hats Off to Hanukkah.”
With well-guarded hope in my heart, I looked up "doffing." Alas, there's no way to interpret "doffing one's hat" as something dirty.
doff: 1. to take off; remove: doff one's clothes. 2. to tip or remove (one's hat) in salutation. 3. to put aside; discard. — American Heritage Dictionary
And, once again, a robot lets me down.
*As always, I diguised the text a little.