If the Capture attempt is successful, any surviving Units will remain at the Cache and gather Resources. When gathering is complete, they will automatically return to your Base with the Resources.
If you would like to recall your Units early, you can also collect Resources from the Cache by tapping on the icon depicting a truck, which can be seen when viewing the Capture Squad from the Garrisons tab of the Command Center.