Slave codes were laws that controlled the behavior of slaves. A picture shows a family of Africans being sold into slavery, risking being separated forever. Slaves resisted slavery by refusing to obey owners or work, pretending to be sick, breaking tools, learning to read despite bans, escaping to the North on the Underground Railroad, and rebelling in groups.