Complex sentence: It is also a tool with which Robert vents his violent feelings, such as when Juliet witnesses him destroying a tree with his gun.
Split into simpler sentences: It is also a tool with which Robert vents his violent feelings. For example, Juliet relates how she witnessed him destroying a tree with his gun.