Hatha Yoga Pradipika · by Svatmarama
Chapter 4 · Samadhi, Laya, Nada
समाधिलक्षणम्
चित्तं न सुप्तं नो जाग्रत्स्मृतिविस्मृतिवर्जितम् ॥नं चास्तमेति नोदेति यस्यासौ मुक्त एव सः ॥ १० ॥
The mind of such a yogi is not asleep and not awake. It is free of memory and forgetting. It does not set and does not rise. That one is surely free.
Simple meaning: The mind is neither asleep nor awake, neither sets nor rises. That yogi is free.
न विजानाति शीतोष्णं न दुःखं न सुखं तथा ॥
In samadhi the yogi knows no cold, heat, pain, pleasure, honour or insult.
स्वस्थो जाग्रदवस्थायां सुप्तवद्योऽवतिष्ठते ॥
One who is awake yet stays like one asleep, with no breath in or out, is free.
अवध्यः सर्वशस्त्राणामशक्यः सर्वदेहिनाम् ॥
The text says in samadhi the yogi cannot be killed by weapons or overcome by any being or spell.