sa evam vartamano ’jno
matim cakara tanaye
sah—that Ajamila; evam—thus; vartamanah—living; ajnah—foolish; mrtyu-kale—when the time of death; upasthite—arrived; matim cakara—concentrated his mind; tanaye—on his son; bale—the child; narayana-ahvaye—whose name was Narayana.
When the time of death arrived for the foolish Ajamila, he began thinking exclusively of his son Narayana.
“The highest perfection of human life, achieved either by complete knowledge of matter and spirit, by acquirement of mystic powers, or by perfect discharge of one’s occupational duty, is to remember the Personality of Godhead at the end of life.” Somehow or other, Ajamila consciously or unconsciously chanted the name of Narayana at the time of death (ante narayana-smrtih), and therefore he became all-perfect simply by concentrating his mind on the name of Narayana.
It may also be concluded that Ajamila, who was the son of a brahmana, was accustomed to worshiping Narayana in his youth because in every brahmana’s house there is worship of the narayana-sila. This system is still present in India; in a rigid brahmana’s house, there is narayana-seva, worship of Narayana. Therefore, although the contaminated Ajamila was calling for his son, by concentrating his mind on the holy name of Narayana he remembered the Narayana he had very faithfully worshiped in his youth.
Directly or indirectly, Ajamila factually remembered Narayana at the time of death (ante narayana-smrtih).
Link to this page: https://prabhupadabooks.com/sb/6/1/27