に-ない

Usage

Expresses although the speaker would like to do something, circumstances prevent him from doing so

Examples

電車がないから、帰宅しようにも帰宅できない There are no trains, so even if I wanted to go home, I can’t.
お金がなくて、学費を払おうにも払えない I don’t have money, so even if I wanted to pay my tuition, I can’t.