This maxim takes its origin from the story of a guard attached a richman’s house waking up from sleep after the thief, who committed theft in the house, made good his escape. It is used to indicate the vain alertness of one after the opportunity for doing his duty has slipped away.