Lucky in some respects only but there is more to it.
My grandfather was a German soldier captured in France sometime after D Day. He was handed over to the French. The French and Americans policy was to eliminate the Germans by starvation and disease. Not something you hear about often.
He was put into a camp for 2 years with little food, less shelter and minimal medical care. They were treated far below the Geneva convention standards. Many of his comrads died while in captivity.
After about 1947, I believe, he was to be sent home. Nope. As he was from East Germany (new designation after the Russians took over), he and what was left of his unit were loaded into locked box cars without food or water. While traveling east, they realised that they were heading east of the German border. My Grandfather and a couple of others escaped from the train and made their way home. ALL of the rest of the trainload of prisoners were shipped to Russia and never heard from again.
That is his story.
I guess it all depended on where you were captured.