"Vainly had I sought to borrow from my books surcease of sorrow"
The key to understanding this quote is to know what "vainly" and "surcease" mean. To do something vainly means to do it without success: I vainly searched for my quarter that rolled down the street rain drain. If something undergoes surcease, it stops, it ceases.