on august 2, 1905 he resigned his post as cabinet minister together with the rest of the government (as a consequence of the political crisis arising from the dissolution of the union between norway and sweden) and resumed his post in the swedish royal navy.