A man who was seen chopping down trees in Buxton with a large knife sparked panic.
Police were called to the Staden Lane area of the town at about 11.30am on Tuesday.
A Derbyshire police spokesman said: “We received reports that a man had been seen chopping down trees with a large blade.
“This had caused some alarm among members of the public.
“The man was arrested on suspicion of possessing an offensive weapon at about noon and was cautioned by police.”
An eyewitness reported seeing a large police presence in the area.