Ah but the real question is did Lincoln ever hear of Marx?
I suspect he did. Marx friends had access to Lincoln, immediate access. They had the power to force Lincoln to countermand field orders given by General Grant.