It happened at about 4 p.m. on Friday at the 59th Street and 5th Avenue Apple Store location in Manhattan.
Police said that the 30-year-old 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 the man was taken into custody outside the store.
Keith Davis captured this photo just as the man was subdued:
The suspect is being taken to a local hospital. His name has not yet been released and no one was injured.
The suspect has been charged with criminal possession of a weapon and menacing.