`` The End '' is a song by The Beatles written by Paul McCartney ( credited to Lennon\/McCartney ) for the album Abbey Road . `` The End '' is a song by The Beatles composed by Paul McCartney ( credited to Lennon\/McCartney ) for the album Abbey Road .