From the Hans Christian Andersen biography "The Life of Hans Christian Andersen. Day By Day", written by DPhil Johan de Mylius:
1814Father Returns Home from the Army
In this year
Peace treaty after the Napoleonic Wars. Denmark now loses Norway. Initially, Norway achieves a free constitution under the later King Christian VIII, but is then brought under the rule of Sweden, where Marshal Bernadotte in the mean time has become successor to the throne and has turned against Napoleon.
HCA's father, who had been no further afield than Holstein, returns home, sick and completely weakened.