How to interact with a police officer(s)

I see many posts about being respectful of the autorities or you will deserve what you get .
I am curious about how you guys feel about the crowd that rushed the capitol or the Ammond Bundy gang that did an armed take over of a government building . How should they have been responded to and what penalties should be or should have been persued ?

There are other threads that cover that topic.