Cookstown police detained a male who was "unwell" in the town centre yesterday to protect the public.
Police were quickly on the scene of the incident.
"Thanks to all those who phoned us and to those who assisted on William Street and James Street," they said in a Facebook post.
"Quick reporting by yourselves and good quality information provided enabled an instant response. The control room was able to relay live time information being received to officers on the ground."