Collect them in a pail of soapy water to kill them. Another treatment for a minor population of cabbage worms is neem oil. It won't kill the insects directly, but it will prevent them from feeding on your plants.
Here's some additional informations to the benefits of pruning and what to do after pruning your tree https://ecoplantera.com/tips/benefits-of-pruning-plants/