The former Archbishop of St Andrews and Edinburgh – who only a week ago was on course to take part in the election of the next Pope – said he would now withdraw completely from public life.