A later report notes
The unhappy woman, Maria Hughes, who stands charged with the wilful murder of her child, continues in a very violent and ungovernable condition.
And by 4 June 1842
On Monday last, the unhappy woman Maria Hughes, whose committal to the County Gaol for the wilful murder of her infant, we some time since reported, was removed to a Lunatic Asylum, at Devizes, in accordance with the order of the Secretary of State.
Not sure of the legislation at the time, but she may never have been formally tried if deemed unfit by insanity