Text:

पुरमेकादशद्वारमजस्यावक्रचेतसः ।
अनुष्ठाय न शोचति विमुक्तश्च विमुच्यते । एतद्वैतत् ॥ १ ॥

puramekādaśadvāramajasyāvakracetasaḥ |
anuṣṭhāya na śocati vimuktaśca vimucyate | etadvaitat || 1 ||

1. The city of the unborn, whose knowledge is permanent, has eleven gates; thinking on him, one does not grieve and being freed, becomes free. This verily is that.

Shankara’s Commentary:

As Brahman is not easily knowable, this if commenced for the purpose of ascertaining the entity of the Brahman, again by another method. City being like a city, this body is called a city, because we find in it the appendages of a city such as gatekeepers, their controllers, etc.; a city with all its appendages has been found to exist, for an owner independent of it and not mixed up with it; similarly, from its resemblance to a city, the body, a bundle of many appendages, must exist for an owner occupying the place of a king and not mixed up with it; and this city named body has eleven gates; seven in the head, and three lower down including the navel and one at the top of the head; whose this is, i.e., of the unborn of the atman not subject to modifications such as birth, etc., occupying the place of the king and dissimilar in its properties to the city; avakra chetasah: whose chetah, i.e., knowledge is not crooked and eternally existent like the splendour of the sun and uniform, i.e., of the Brahman occupying the place of the king; contemplating on that Paramesvara, highest Lord, the owner of the city; for the word anushthanam here means the contemplation of him leading to sound knowledge or realisation of him contemplating on him, as living equally in all things, one does not grieve, being freed from all desire; fearlessness being attained by knowing him, there being no occasion for grief, whence could he fear? Even here, he becomes freed from the ties of desire and karma induced by ignorance and being thus freed, he becomes free, i.e., does not enter a body again.