How to cancel interaction with armor stand?

How to cancel interaction with armor stand? I right-click and armor takes to my inventory. So, how I can cancel it?

I tried to use InteractBlockEvent but it has no effect. Maybe there is any other events for that?

The InteractBlockEvent will only trigger for if a entity interacts with a block. A armor stand is classed as a entity, so try InteractEntityEvent and cancel that?