Shipping-to-oil group A.P. Møller-Maersk is to sell most of its shares in Dansk Supermarked, the retailer with over 1,300 stores in Denmark, Sweden, Germany and Poland.