contestada

The narrator says, "[The tree] loomed in my memory as a huge lone spike dominating the riverbank, forbidding as an artillery piece." What literary device is the narrator/author using in this passage