We've never had one spray when trapped, not that it couldn't happen. Use a tarp, as mentioned, between you and the cage, move quietly, and drape it over the cage. Then move it to where you can shoot it, right by it's new underground resting place.
If you release it, make sure you follow your...