I stayed and found the last password,killed the lich and then went back to the library.
Finished that optional and got the ring Deathwarden. BTA or I would give it to Belle for healing!