The judge reminded Bredow she agreed to the immunizations.
Rebecca Bredow, 40, was sentenced to a week in jail Wednesday for contempt of court-closing a year-long legal battle between her and her ex-husband over the vaccination of their 9-year-old, Detroit News reported.
The father - her ex-husband - has now been awarded temporary primary custody so that he can get the child the vaccinations.
She argued in court that to immunise her son "goes against my beliefs".
On Wednesday, Bedrow went before a judge to plead her case.
"I would rather sit behind bars standing up for what I believe in, than giving in to something I strongly don't believe in", Bredow added.
Court documents obtained by ABC News state that a judge first asked Bredow to get immunizations for her son in November 2016, but the child remained unvaccinated almost a year later.
Bredow and the child's father had made the decision to get their child vaccinated when he was born, but space them out, delaying some.
"I'm gonna stop you because the truth matters", the judge said.
The judge says the boy has two parents and "dad gets a say". "If my child was forced to be vaccinated, I couldn't bring myself to do it", Bredow said.
Also, the record, I ask you to audit it and what you recently stated, that he has a freshly discovered protest isn't valid.
"It's clear to me that you don't care about orders, even if you agree to them, which you did". "Your attorney signed that order".
As a result, Bedrow was sentenced to serve seven days in jail.