You can squash a spider or a tomato; but when the meaning you intend is “to suppress,” as in rebellions or (especially) legal motions, the more sophisticated term is “quash.”