Derbyshire Constabulary's armed response unit attended an incident in Chesterfield last night.
Officers received a report of a man with a knife in the area.
The man has mental health problems.
A force spokesman said: "He is now with officers and getting the help he needs."
No further details have been made public.
Whoever you are, however you feel, whatever life has done to you, please remember that you are not alone and help is at hand. You can call the Samaritans for free on 116 123 or email them via firstname.lastname@example.org. The Samaritans are there all day, every day.