A woman who drove some of the people accused of the vigilante attack on a Featherston man told police she ran when she heard a blood curdling cry and someone saying, "No".
Toni Maree Miller said she panicked and did not know what to do.
Miller said her child's father, Matthew John McKinney, had previously said he was going to knock on the door of a man accused of rape to scare him but nothing was done.
However, after midnight on January 12, last year, McKinney was with three others who allegedly attacked Glen Jones, 40.
Miller told police that afterwards McKinney was upset and told her, "I didn't want this to happen, no-one was supposed to get hurt."
McKinney told her he tried to stop the attack by the other two men.
Miller, now 23, was pregnant at the time and the sober driver.
She has pleaded not guilty of aggravated burglary of the flat of Glen Jones. Four of the people who were with her that night - three from the car she drove and one from another car - are charged with murdering Mr Jones, a disabled supermarket worker.
Police had been told that Miller knew where an alleged rapist lived in Featherston but she denied it in an interview with Constable Brendon Dyke.
A woman they knew - who at least one of the group called "mum" - said Glen Jones had raped her.
She said she heard some talk about rapists at a gathering in Masterton the night before.
Then one person wanted to go to Wellington and another wanted to go to Taita Cemetery. A third wanted to stop in Featherston but in the car she did not hear anything directly about the alleged rape.
She overheard one man saying, "You don't do that sort of thing to a woman" and another said, "They should not get away with it".
In Featherston the cars stopped and the three men and one of the women walked off. Miller said she had a bad feeling and wanted to know what was happening.
She was on the footpath when she heard a blood curdling cry.
On trial along with Miller are Tariana Hineteanaurangi Jones, 33, Kristofer Lee Jones, 24, Matthew John McKinney, 29, and Hayden Ranson, 28. McKinney and Ranson have pleaded guilty of aggravated burglary, and the others have pleaded not guilty.
Tariana Jones, Kristofer Jones, McKinney and Ranson have pleaded not guilty of murdering Glen Jones.
The trial is in its third week. The court has heard that a woman, whose name is suppressed, had accused Glen Jones of rape but also that she told police she could not remember what happened when she spent the night with him after having alcohol and prescription painkillers.
Police had not spoken to Mr Jones about the complaint by the time he was killed on January 12, last year.
- The Dominion Post
How many coffees do you have a day?Related story: Coffee as we know it at risk of dying