枷 was the wooden cangue locked around a prisoner's neck;
棒 was the cudgel used for beatings. Together they stand in for brutal judicial extortion in imperial-era settings. Not used in modern speech — you'll encounter it only in historical fiction or period drama.