Sorry the necro, pero this is still happened to this day. I solved this following the instructions in the DSUtils page at bohemia.
source: https://community.bistudio.com/wiki/DSUtils
CBA garrison function uses "doStop". To regain control of the units you should issue a doFollow. Check the example at https://community.bistudio.com/wiki/doStop#Description
Same thing happened to me.