What is the metaphor in lines 7-9 of the poem "Ode to the West Wind"?
I can see why you're having problems. Because of Shelley's love of enjambment (continuing the sense of a line onto the next line) the poetic devices actually extend back further than line 7, and on further than line 9.
Who chariotest to their dark wintry bed
The winged seeds, where they lie cold and low...
That's the first sense unit. Shelley addresses the wind (O thou) who acts like a "chariot", taking the seeds to their "bed" (of soil, we assume) where they lie cold and low. Then he picks up the pun on bed (human bed / flowerbed) and takes it further:
Each like a corpse within its grave, until
Thine azure sister of the Spring shall blow
Her clarion o'er the dreaming earth, and fill
(Driving sweet buds like flocks to feed in air)
With living hues and odours plain and hill...
Each seed lies like a corpse in the grave, until the wind's blue ("azure") sister, "the Spring", blows her trumpet ("clarion") over the earth. This metaphorical trumpet fills both plain and hill full of living colours ("hues") and smells ("odours").
SO the simile compares the seed lying in a seedbed to a grave, until the trumpet of Spring (this is the metaphor!) fills the "corpse" full of life. It's basically a reference to Revelation in the Bible, when God is supposed to raise up the dead to redemption.
The first two stanzas describe the west wind that blows the autumnal leaves along in its path. Then, in lines 7-9 it states that those leaves-bearing seeds, lie "each like a corpse within its grave, until/Thine azure sister of Spring shall blow", stating how those seeds will lie buried until spring.
There is one simile (a comparison using like or as)comparing the seeds lying under the snow to a corpse within its grave. It's an interesting simile, and brings to mind the image of the seeds lying still and cold. The metaphor (direct comparison, no like or as) in these lines refers to Shelley calling the spring wind the sister of the fall wind. He calls it "thine azure sister". Those are the similes and metaphors in those lines, and I hope they help!