The book ends with Greg Heffley's expulsion from school.
After a series of mishaps—including being framed for damaging school property and a failed prank with a fire extinguisher—Greg is expelled. This leaves his future uncertain and sets up the next book, Dog Days, where he attends summer school and faces the fallout.