The phrase hat in hand means to ask someone for a favor with humility. Another variation of the idiom is cap in handExample: She came back hat in hand asking for forgiveness.