Queen accepts medical advice to rest for few days