The Great Atlantic & Pacific Tea Company has sold all of its 11,726,645 shares of Metro, the Canadian grocer.