As for the Napoleonic wars well even that was argubly more preferable to being caputred in Russia where you could be buried alive or stripped naked in an icy winter or simply treated with kindess and respect depending on the mood of the average Cossack.
In the British civil wars the Roundheads started strining up irish soldiers captured till Prince Rupert started doing the same with theres in response and it stopped