The works of Ādi Śaṅkarācārya

Chāndogyopaniṣadbhāṣyam

Bhashya

Bhashya

तमात्मानमनुविन्दते ।एषणादिष्टमपि ब्रह्मचर्यमेव ॥

In plain words

One attains that Self. Even what is pointed out regarding desires is nothing other than disciplined celibacy.

Close to the Sanskrit

One attains that Self. Even what is prescribed through desires is celibacy indeed.