The 77-year-old made the decision on the advice of her doctors, a Buckingham Palace spokesperson said.