It must originally have meant making chaste
(perhaps by castration, or by high consumption
of parts of the Chaste Tree that once grew in every monastery garden -
I have one in my little orchard, now sold along with the house)
as christening meant to make Christian.
Chastrer in French means to unman, to emasculate, castrate,
a chastening experience one way or another.