noun
just as one is leaving; on the point of departure
Refers to the moment or time when someone is about to leave a place. Often used with verbs like 言う, 思い出す, or 呼び止める to describe an action occurring at that moment.
帰り際に、友達に呼び止められた。
Just as I was leaving, a friend called out to me.
彼は帰り際に忘れ物に気
He noticed he had left something behind just as he was about to leave.