What is boycotting in the civil rights movement?

the technical meaning was "not buying or using a product", but in the Civil Rights Movement, the Montgomery boycott was that the African Americans did not ride the bus.