"After saying goodbye to them" or "After they had left." Use the common words your language uses for a time when friends leave each other and expect to see each other after a few hours or days.