Yeah. Almost certainly rounded up and sold to the slave traders by Obama's ancestors.
Obama’s ancestors, the black ones, were from Kenya on the east side of Africa. If they engaged in slave trade it was to the middle east. Our slaves were brought from east Africa, and yes they were originally captured by other Africans and sometimes Arabs. Travel across the African continent in a commercially useful time frame was almost impossible in slave trading days.