Court jails woman for harming son