Then a new idea struck the wicked old woman , and hiding herself behind the rock which had sheltered the fugitives , she waited behind it , watching carefully for the moment when the Prince and her daughter should resume their natural forms and continue their journey .