Answer:
Extended metaphor
Step-by-step explanation:
Metaphor as a literary device explains the use of inanimate objects to invoke a direct similarity between the thing described and the object. This scenario applies to an extended metaphor where the comparison is continued over multiple sentences. It is primarily used in narrative essays or poems.
From the sentence given,
The author makes use of Martha, who is hitting the man with the umbrella as a metaphor. Therefore, we call this an extended metaphor because it is repeatedly used and extended throughout the sentence.