That is a good question, but it is not happened since
once the company refused to hire her, she must get another h1b job within 180 days. If she did not get it, she will be out of status. However, if she changed her status, she will not be H1b anymore.