。
Take off your hat.
Literal
Hat [object-を] remove-[soft-command-なさい]
脱ぐ is specifically for removing clothing and footwear — it pairs with 着る (for upper body), 履く (for lower body and feet), and かぶる (for head). Japanese is particular about which verb goes with which garment.