In 1-2 sentences, explain the meaning of the metaphor in the following sentence.

The shabby blanket that wrapped around me was a warm hug from an old friend..

The metaphor in this sentence suggests that the shabby blanket provides comfort and familiarity, akin to the warmth and security of being embraced by an old friend.