Babysitting

I'm a babysitter I have my certification in early child development and I watch a little 3 month old. He started crying at 11, 15 minutes after I gave him his medicine. I texted his mom at 11:45 something saying he was crying nonstop screaming choking on his own spit and I did EVERYTHING I could think of to help and he wouldn't stop the mom said he does that sometimes he should stop in 30 minutes is this wrong of her? I know it's her child and she knows him more then anyone but what would you do if your child was crying at the babysitters for an hour straight.