In other words, is there a way to rewind it to the beginning?
EDIT
I am using mongo shell and pymongo.
You can use cursor.reset();
cursor.reset();
For PHP : $cursor->reset();
$cursor->reset();
then run your foreach($cursorData as $data) any time after resetting.
foreach($cursorData as $data)