Bilbo made it to the horses and started to untie the reins, praying that the trolls wouldn't see him. Or smell him. He got them loose and started to move back into the trees, closing his eyes thinking it would help him not be seen.