What he ought to have done, what any sane man would have done, was to remain patiently where he was and wait for his man to come out again.
He should have waited for the man to come out again.