Hagemann remained unmarried. He died from cholera during the 1853 Copenhagen cholera outbreak and is interred at Assistens Cemetery.