I don't know if they've attempted to claw back any NSF grants yet, but they have done this with EPA grants. There was no lawsuit, they just ordered banks to freeze the funds and the banks complied: https://www.eenews.net/articles/epa-green-bank-recipients-lo...