While police attempted to apprehend the man, “he had a firearm displayed in his right hand,” a city official said.