Place it at the very end of a farewell edit, after the last spoken goodbye and the final wave, so it closes the scene. Follow it with a big cheer to lift the ending into a celebration, then let the screen fade on the departing friend.