The transformation of object-libido into narcissistic libido which thus takes place obviously implies an abandonment of sexual aims, a desexualization - a kind of sublimation, therefore.
Sigmund Freud, Carrie Lee Rothgeb (1961). “The Standard Edition of the Complete Psychological Works of Sigmund Freud”