This so frightened his father and mother that in order to comfort them a Fairy , who happened to be present at the time , produced a little pebble which she told them to keep for the Prince till he grew up , as by putting it in his mouth he would become invisible , as long as he did not try to speak , for if he did the stone would lose all its virtue .