It was later on, I knew Xanax isn't beneficial when pregnant. It is a Class D medication. The OB was supposed to prescribe a more milder drug for my child. I am so lucky and happy that I stuck with my instinct of taking very low dose spread across twice a day instead of at once. I never had this issue with my other children. I am happy my daughter was fine without any issue and had no withdrawal.
I can't begin to think what would have happened if the worst had happened. My Other three children would have definitely be taken without any hesitation. Whether my daughter lived or not, it would have been a win for them both ways and I wouldn't have forgave myself. Thank goodness it didn't go that route.
Thank you @canadian-coconut.