I would smack her across the face and tell my dog to bite her leg.
My dog once got stuck in our culvert and we had to get her out because it was the middle of the winter and it was all ice in there. We knew she must have been freezing so we tried to lure her out with bread (her favorite treat) and hope she wouldn't give up. Well, her paws just slipped on the ice and she was trapped. We didn't know what to do then, so my dad grabbed a towel and got it under her, this got her off the ice and he was able to pull her out. We brought her inside and wrapped her up so she could warm up and she hasn't gone back in the culvert since, thankfully.