Ammon lead the search, and was doubtless led by the spirit to find at least the bulk of the flock. Note that "much swiftness" was required to catch and head the flocks. The flocks were still in flight mode, and had to be stopped and then turned to head back to the water.