Man drops firearm, flees police