Caponizing male chickens is done at a very young age when the testicles are still small.
A mature cockerel's testicles are huge -- almost the size of his head -- and the surgery would be very dangerous.
If he's a real sweetheart and you want to keep him you could give him a little flock of his...