Second Schleswig War
During the Second Schleswig War in 1864 the Royal Danish Navy blockaded the German ports. While the Danes suffered military defeat on land during the conflict, their navy succeeded in maintaining the blockade throughout the war.