For example, AFAIK, all the warriors in the Mahabharata war only went to Swarga. If a Kshatriya renounced war, took Sannyasa and obtained Moksha, I am not looking for that. I am looking for Kshatriyas who remained Kshatriyas till death.
There are indeed instances of Kshatriyas achieving Moksha without renouncing their warrior duties. I'd like to highlight two such examples.
The first instance is King Padma, the husband of Queen Lila. King Padma ruled his kingdom until his death, and he achieved living liberation (Jivanmukta). This achievement was due to the wisdom imparted to him by ma Saraswathi. Subsequently, after their deaths, King Padma and his consorts achieved Videhamukti, the state of liberation after death.
The king, who was fraught with the wisdom imparted to him by the goddess; continued to rule over his kingdom for thousands of years, in company with his consorts. They reigned on earth, in their state of living liberation for myriads of years; and then receiving the perfect knowledge of the holy Siddhas, they became wholly liberated after their deaths. The happy pair having reigned jointly, over their delightful realm of ever increasing population, and which was graced by learned men and righteous people, knowing their own rights and duties of doing good to all mankind, became freed from the burden of their state affairs for ever.
Another example is Hemachuda, the husband of Hemalekha. Hemachuda too led the life of a Kshatriya, engaging in warfare, studying and teaching scriptures, and ruling his kingdom. He was a Jivanmukta.
At the end of her speech, Hemachuda's confusion was cleared up, so that he gradually became well established in the perfect Self bereft of any distinction of within and without. Being always equable, he led a very happy life with Hemalekha and others, reigned over his kingdom and made it prosperous, engaged his enemies in war and conquered them, studied the scriptures and taught them to others, filled his treasury, performed the sacrifices pertaining to royalty and lived twenty-thousand years, emancipated while yet alive (Jivanmukta).