The ending also repeats the arpeggiated guitar motif from the end of that song , similar to the figure featured in the George Harrison written songs `` Here Comes the Sun '' and `` Badge '' ( co-written by Harrison and Eric Clapton ) . The ending also reprises the arpeggiated guitar motif from the end of that track , similar to the figure featured prominently in the George Harrison written tracks `` Here Comes the Sun '' and `` Badge '' ( co-written by Harrison and Eric Clapton ) .