This song features in the movies Toy Story and Toy Story 2. While not explicitly a song for goodbye, the following phrases make this lovely song perfect for a farewell:
"When the road looks rough ahead And you're miles and miles From your nice warm bed Just remember what your old pal said Boy, you've got a friend in me" ... "And as the years go by Boys, our friendship will never die"