Horn of Spirits.

The horn was stored in the Darokin safety deposit box, as are the books on deities. Tess' soul was in the horn, as were those of the spirits with names written on the horn, until Tess was released by the Lady of the Noose guy who dealt with the horn to atone for attacking women.

Breaking the horn will return a spirit back to a normal state, but will kill a living person who's spirit is in the horn. Note, shadow elves can be resurrected without going on a quest, but they have to be deemed worthy of being a Shadow Elf.