Horgan has been in the hospital for much of the past five months after being diagnosed with thyroid cancer in June. He was serving as Canada’s ambassador to Germany.