To shake or roll something from side to side. Middle English “shogge” < Old High German “scoc”=oscillation, a swing.