It happened around 4 p.m. Friday at the 59th Street and 5th Avenue Apple Store location.
Police say that the man entered the store and was yelling and menacing with the sword.
EXCLUSIVE VIDEO OF MAN SWINGING SWORD
It was a scary few moments for people inside and outside of the store.
A man pulled out a samurai sword inside the Apple Store today while I was working & I don't think I've ever been so scared in my entire life— John Clyde (@OfficialClyde) November 20, 2015
Two NYPD officers were inside the store at the time and he was taken into custody outside the store.
Keith Davis captured this photo just as the man was subdued:
The man was taken to Bellevue Hospital. No one was injured.
The suspect's name has not yet been released. He was charged with criminal possession of a weapon and menacing.