I feel your pain, I too am in a Rooster free zone. I skirt the rule by keeping them until they crow well. If you're concerned about the neighbors you should start looking for a new home asap, it can take a few weeks to find a suitable home for a male.
Much like teenagers, you have to cut cockerels going through hormonal changes some slack. Thier instincts tell them to protect his flock and he'll take a bit of time to determine who and what the real threats are. It can be harder for hand raised cockerels to differentiate, sometimes they see...