Word Definition - 打草惊蛇

dǎ cǎo jīng shé lit. beat the grass to scare the snake (idiom); fig. to inadvertently alert an enemy; to punish sb as a warning to others