One verse

Srimad Bhagavatam 12.7.21

12.7.21

विरमेत यदा चित्तं हित्वा वृत्तित्रयं स्वयम् । योगेन वा तदात्मानं वेदेहाया निवर्तते ॥ २१ ॥

virameta yadā cittaṁ hitvā vṛtti-trayaṁ svayam yogena vā tadātmānaṁ vedehāyā nivartate

virameta
desists
yadā
when
cittam
the mind
hitvā
giving up
vṛtti-trayam
the functions of material life in the three phases of waking, sleep and deep sleep
svayam
automatically
yogena
by regulated spiritual practice
vā
or
tadā
then
ātmānam
the Supreme Soul
veda
he knows
īhāyāḥ
from material endeavor
nivartate
he ceases

Either automatically or because of one’s regulated spiritual practice, one’s mind may stop functioning on the material platform of waking consciousness, sleep and deep sleep. Then one understands the Supreme Soul and withdraws from material endeavor.