protection orders (civil)
Local story on protection orders
Story here. Mayor of a small town had his wife request a civil order of protection against him and his son. The order of protection form has a checkbox for finding that the person on the receiving end poses a credible threat and therefore police are to seize any arms they possess. The judge (without any requirement to notify the mayor or son or hear their side) issued the other, checked the box, and their firearms were impounded.
It's also possible here for a person completely unrelated to you to get an order of protection. Although that statute makes no mention of firearms, it does say that the order can enjoin you not to harass the other person and has a vague clause about the judge having the right to order other relief.