"König", "Grosser Kurfürst", and "Markgraf" underwent repairs through July and then conducted training in the Baltic in August before taking part in the sortie that led to the action of 19 August 1916; during the operation, "Markgraf" and "Grosser Kurfürst" were temporarily attached to I Scouting Group as several of its battlecruisers had been badly mauled at Jutland and were still under repair. Scheer intended to bombard the British coast, but broke off after he received reports that the Grand Fleet was at sea; in the inconclusive action, German U-boats sank a pair of British light cruisers, and in return one German battleship was damaged by a mine. Further bouts of training in the Baltic, along with fruitless sweeps into the North Sea continued through the rest of 1916. During an operation to recover a pair of U-boats that had grounded off the Danish coast, a British submarine torpedoed "Grosser Kurfürst" and "Kronprinz", though both ships returned to port for repairs. In 1917, the heavy units of the High Seas Fleet were largely restricted to guard duty in the German Bight, as the strategic priority of the German fleet had shifted to the U-boat campaign. During this period, the ships underwent refits that included the installation of the heavy tubular foremasts that "Kronprinz" had received when initially completed.