IMO I think his publisher Mark Twain helped him.
Yep. If it wasn’t for Twain publishing the memoirs, Grant’s family would have been left without any money.