Police have detained a 41-year-old man - who was making threats with a knife inside a property in Crawley - by using a so-called distraction device to get his attention.
Officers attended the property at Wren Court in Tilgate Way yesterday morning just before 11am.
They used a device that causes a loud noise to distract the knifeman in order to detain him safely.
They acknowledge that their device may have caused alarm and want to reassure residents that no one was harmed.
Chief Inspector Shane Baker; District Commander for Crawley said:
"We are thankful to the public for their patience and understanding while this incident was ongoing.
"During this incident, a distraction device was used, which may have caused some alarm and disruption to residents.
"We would like to assure the public that nobody was harmed and there is not believed to be any ongoing threat to the local community at this time."
Anyone with information can report it online or call 101, quoting 482 of 15/07.