In mushākalah the repeated word-form and the intended sense must be distinguished. The first use may be literal; the second is shaped by the wish to maintain correspondence, even though a different action is actually meant there.
The figure is treated among semantic embellishments because its force depends on the relationship between the two intended meanings. The visible lexical resemblance expresses that relationship but does not by itself explain it.
Rule: Do not assume that the same written word has the same force on both occasions. Determine the intended sense from context in each position.