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 suspect is being taken to Bellevue Hospital.
His name has not yet been released and no one was injured.