Woman who was jailed for a crime says she was trying to protect her son from harm and others.