A standoff at a strip mall in Mashpee, Massachusetts, ended peacefully on Wednesday evening, police say.
A SWAT team had been at the scene of what police were calling an "ongoing situation" for hours.
Just after 12 p.m., officers responded to Audio Video Solutions Incorporated at the strip mall on Route 28 for a well-being check for a despondent man.
Police said the man had barricaded himself inside the store with numerous weapons, including high-powered rifles.
The SWAT team and crisis negotiators were brought in to assist.
Police said at one point, the 41-year-old Falmouth man fire a round inside the store. He allegedly told police that he was armed with an AR-15 rifle with more than 1,000 rounds of ammunition.
At about 7:30 p.m., negotiators were able to convince the man to surrender peacefully. He was taken into custody without further incident and transported to Falmouth Hospital for a psychological evaluation.