Stokes, the talisman of the England team, repeated on several occasions during his evidence that he was defending himself, England team-mate Alex Hales and two gay men, Kai Barry and William O'Connor, in the brawl outside a Bristol nightclub in the early hours of September 25, 2017.
It follows an alleged fracas near the Mbargo nightclub in the Clifton Triangle area of Bristol shortly after 2am on September 25 previous year, hours after England had played the West Indies in a one-day worldwide in the city.
Two friends Ryan Ali, 28, and Ryan Hale, 27, who Stokes is alleged to have knocked out during the fracas, are also on trial. Judge Peter Blair QC told the jury: "I am directing you to find him not guilty in my analysis of the evidence".
Mr Stokes, 27, of Castle Eden, Co Durham, denies affray as does Mr... I wasn't going to let them do that. He was pinching my arse and I grabbed him and said: "'You're coming home with me.' He said: "'Just because I'm gay doesn't mean I'm going home with any other bloke'".
"I was told by Mr Ali something along the lines of "Shut the f*** up or I'll bottle you". As soon as I'd seen Mr Ali swing the bottle and physically hit them, I took the decision that I needed to get involved. I immediately thought he was the individual who was trying to keep me down on the floor as well as Mr Ali.
"These men were speaking to the gay guys in what I would call a harsh and abusive way", Stokes told officers in a later statement. I don't know why he didn't stop.
England cricketer Ben Stokes arrives at Bristol Crown Court on Thursday.
Footage from her body camera, played to the jury, showed she said to Stokes: "A guy over there was covered in blood and I've been told you punched him".
He said that after the match, he returned to the hotel and drank two or three pints of lager at a meal with wife Clare and three other players and their partners.
Bristol Crown Court heard Stokes was the "main aggressor" in a fight that broke out between him and Ali and Hale - near a nightclub in the city. He and Hales then chose to return to Mbargo where two team-mates, Jonny Bairstow and Liam Plunkett, had remained.
However, they were refused entry by door supervisor Andrew Cunningham as it was after 2am.
However, Stokes denied this and said that he had offered Cunningham about £60 or £70 ($NZ115 or $NZ135) to get them into the club.
"I was trying to tell him to leave; to get out of here", Stokes said.
Stokes said he had been wearing black ripped jeans, a green T-shirt and white Buscemi high-top shoes with gold padlocks on the back.
Hale said the four men were together on Queen's Road, round the corner from Mbargo, when they were approached by former England vice-captain Stokes.
Stokes said he had undergone five or six operations on his right-hand following cricket injuries.
He told the jury that he did not know whether Mr Bairstow and Mr Plunkett would still be inside.
"I had never heard of the brand, I just quite liked them", Stokes said.
Jurors saw footage of Stokes talking to Barry and O'Connor outside the Bristol nightclub.
Stokes said that Pryzm was quiet, so they caught a taxi back to Mbargo.
"Then he [Ali] turned around and swung at one of the gay couple with a bottle".
He described one exchange as "about the state of my shoes" and, when asked if he had been homophobic, replied: "No, absolutely not".