From what I can find on the Internet, the deceased (Gary Willis) did not comply with the court order when served, and struggled with one of two LEOs when the officer tried to disarm Willis. Willis reportedly fired a shot, whereupon the second officer shot and killed Willis.
While I'm not convinced the news reports are complete, in general, 'tis a bad idea to resist, and moreso in MD. If that seems a bit much, the linked article cites the Anne Arundel police chief as expanding their storage space for the increased number of weapons they anticipate seizing. Mr Willis lived in Anne Arundel county.
The same article states that MD's red flag law is the broadest in the nation in who can petition for an order.
Not gonna get into the "was this necessary" discussion, but I don't miss MD one bit.
https://www.capital-gazette.com/news...824-story.html