Two examples of metaphor extended in the book mentioned in the question above can be seen in the paragraphs:
"I do not so much write a book as sit up with it, as with a dying friend. During visiting hours, I enter its room with dread and sympathy for its many disorders. I hold its hand and hope it will get better.
"
"People love pretty much the same things best. A writer looking for subject inquires not after what he loves best, but after what he alone loves at all.
"
Explanation:
The metaphor is presented as a comparison of a subjective nature between two things that do not look alike, but that have related elements. The metaphor is made in a single sentence, but the extended metaphor, as the name already says, is the same subjunctive comparison that extends over many sentences within a paragraph and even many paragraphs.
In "The writing life" by Annie Dillard we can see two examples of metaphor extended in the following paragraphs:
"I do not so much write a book as sit up with it, as with a dying friend. During visiting hours, I enter its room with dread and sympathy for its many disorders. I hold its hand and hope it will get better.
"
"People love pretty much the same things best. A writer looking for subject inquires not after what he loves best, but after what he alone loves at all.
"
Our pride gets in our way because it causes us to hide who we really are and its not really easy to overcome it but you can overcome this by acting as if your in someone's shoes and think about what you have and what they have.