How did the process of POW release work at the end of WW2? for all sides. Thanks

by ytruhg
twin_number_one

Also I would be interested as to whether there were any last minute massacres of prisoners by commanders bitter at their country's defeat?

Agastopia

I'm really interested in knowing this as well, did sides just immediately release them? Were they transported back to their respective countries and then released?