The witness said they went to find and inform one of the train conductors, who went to talk to the man.
“The guy punched the train conductor straight in the face,” they claimed.
The Herald has approached AT for comment on the alleged assault of an employee.
In a recording of the incident supplied to the Herald, a man can be heard shouting racist and threatening remarks.
“I’ll f***ing put a gun to your head, bang,” the man says.
The witness said the man made a gun gesture with his fingers, pointed it at them and other passengers, and proceeded to yell, “Bang”.
“It was pretty shocking. I’ve never been in that situation before.
“I’d say New Zealand is quite a safe and sheltered place from that stuff, like it only really happens in the movies... it felt like an out-of-body experience to actually experience it.
“I’d say my heart was beating pretty fast. No one else said anything, everyone kind of just tolerated it.”
They said multiple passengers either disembarked the train or moved seats to get away from the man.
The train continued towards Ōtāhuhu Train Station, where it was stopped and searched by police.
A witness told the Herald heavily armed police were seen entering the station and boarding one of the trains parked on the tracks.
However, police said they subsequently became aware the subject of the report had left the train at Glen Innes.
Police said they had since spoken to a person in the Glen Innes area and wanted to reassure the public there was no cause for concern.
“Police must take these reports seriously and officers were armed as a precaution. A thorough inspection of the train was carried out and police thank the public and AT for their help in safely resolving this matter.”
Inquiries were continuing, they said.
AT earlier warned the public to expect delays and cancellations on the Southern and Eastern lines.
“The Southern and Eastern Lines experienced some delays and a train service from Britomart to Manukau was cancelled,” a spokesperson told the Herald.
“Normal train services have now resumed but it’s possible some delays may still occur as the network recovers.”
Sign up to The Daily H, a free newsletter curated by our editors and delivered straight to your inbox every weekday.