I have carpenter bees here in Phoenix AZ. I have plant beds and I see carpenter bees buzzing around. They freak my out if they get close though. That loud buzzing sound send chills up my spine, and always has. But I know they won't harm me. You did a good deed :)
When I was a boy on the farm, we used to catch them and also fruit chafers. Then we would tie a long string of cotton to the thick part of their hind legs, let them fly while holding the other end so that they could whirl around us in the air. Of course after a while we set them free.
We care for all life my friend.
Blessings and thank you!