Every state is different. IF (and that's a big 'if') eeeeeverything you said about your friend was 100% true, he should have gone back to court and had a hearing to get it quashed.
Orders of Protection (at least in Arizona) have to have a reason. The complainant fills out a form and has to appear before a judge to state their case. After hearing and reading what is alleged to have happened, the judge can then issue the order if they choose.
Using the big 'if' above, sounds like NY laws are different that AZ in regard to issuing Orders.
I am, however, of the opinion that your friend didn't tell you the entire truth.
Of every one hundred men, ten should not even be here. Eighty are nothing but targets. Nine are real fighters, and we are lucky to have them, for they make the battle. Ah, but the One... One of them is a Warrior... He will bring the others back.
"Wrong door, buddy!"
Let no man's ghost say my training failed him.