Mary Cavendish was there, shaking the girl, who must have been an unusually sound sleeper, and trying to wake her. 
Mary Cavendish tried to awaken the girl.
It guarantees that the process that produces the product has been carefully documented.