Hat-in-hand Definition

adverb

(idiomatic) With humility; in an apologetic or self-effacing fashion.

He came back the next day, hat in hand, to correct the problem he left behind.
Wiktionary