You’ve already said goodbye. Neither of you has quite left. In a daily study, people who received a hug on a day with interpersonal conflict reported less of the dip in mood that usually went with it. That doesn’t establish cause and effect; the work is about the comfort of an embrace both people want.