Officers were called after reports a man was behaving erratically and shouting threats