Second Schleswig War
and as a result of the Second Schleswig War better known as the war of 1864, it was stranded on the Prussian side but returned to Denmark in 1865 in a barge.