A mother who jailed for defying COVID-19 rules in order to remain with her daughter.