The Victorian mother had been in the grips of a severe mental health breakdown at the time, the court was told.