Yes you are right. even I felt bad...she was such a loyal spy of Chanakya's brigade. She sacrificed her life for Magadh's future...for the Maurya's.
Her last rites are to be conducted with all the respect as commanded by the Samrat, although as a case of mistaken identity but such a brave soldier deserves such respect.