
To cause strife, especially by spoiling someone's plans
This phrase was first recorded by Jeremy Belknap in The History of New Hampshire, 1788: “Adams had almost overset the apple-cart by intruding an amendment of his own fabrication on the morning of the day of ratification” of the Constitution.