Expression that is used to say that a priest abandons his clerical state, since the habit or cassock is the proper dress that identifies him as religious. It can actually be extended to a military uniform, or a protocol state suit, as all of these are also known as habits. The origin of the phrase has the same meaning of "hanging up arms". See "hanging habits on a fig tree", "hanging the cookie".