# data[].attributes.body
As we can see in act IV, Gertrude is obeying what her son has told her to do. She has told Claudius about his madness and about Polonius, and protects him by saying Hamlet's crying for what he'd done.

# data[].attributes.body
She knows that Hamlet has plans, but she hasn't told her husband, the king about any of the things she spoke about with Hamlet.

# data[].attributes.body
We can see Gertrude as a messenger when she delivers the news about Polonius to Claudius.

# data[].attributes.body
We can see as she didn't want to talk to Ophelia at first that she felt guilty because she knows it was her own son that killed Ophelia's father.

# data[].attributes.body
As she is speaking to Ophelia she tries to comfort her, but fails and lets Claudius take over when he enters.

# data[].attributes.body
After Ophelia leaves Claudius and Gertrude are left, the Laertes shows up and wants to stir up a commotion against the king, but as Laertes blames Claudius she keeps on trying to protect him and tells him that Claudius did not kill his father.

# data[].attributes.body
We see Gertrude come in once more when she reports the bad news to Laertes that his sister is dead.

# data[].attributes.body
Overall Gertrude's presence in the fourth act was very depressing and it always brought something bad to the scene. When she tells Claudius what Hamlet did, Claudius sends him to England, and when she appears with Ophelia moments later she is dead.