In 1849, he served as a major-general and played a decisive role in the Battle of Fredericia which broke the Schleswig-Holstein siege of the town. He died during this battle. He was buried at Garrison Cemetery in Copenhagen.