Attack it with a supported piece.
you mean this?
Queens get trapped. They also can be taken by discovered check. Or skewered. And sometimes forked. I can think of other queen capturing tactics but I'm walking the dog.