Along the Appomattox River in Virginia , the former slaves and their descendants lived successfully as free men and women despite the anxieties of a society that did not know quite what to do with them .