A metaphor is a literary device that draws a comparison between two dissimilar things. An extended metaphor employs the same method but sustains the analogy across an entire poem or narrative. Here, the author utilizes the figure of the man striking the narrator with an umbrella as a metaphor, and it qualifies as an extended metaphor because it persists throughout the entirety of the story.