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 conveys the idea that the shabby blanket provides comfort and familiarity, likening it to the warmth and familiarity of receiving a hug from an old friend.