閉門思過

Idiom

 * 1) to shut oneself away and reflect on one’s mistakes