εἶδον αὐτοὺς ὑπάγοντας.

εἶδον αὐτοὺς ὑπάγοντας.

I saw them while they were departing.
— or —
They saw them while they were departing.