Portugal legend Cristiano Ronaldo says "the day has come for me to hand back the number seven shirt".