 Taken prisoner by the Austrians in August 1813, he was released the following year and returned to Warsaw.There he became the commander of the Veteran Corps and organized the return of Polish war veterans from France.On December 18, 1830, he was awarded with a commemorative medal for 50 years in active service, as the first Polish officer ever.