The error e is the tilt. The motor command is u = Kp·e + Ki·∫e dt + Kd·de/dt.
P (proportional) reacts to the tilt now: the more it leans, the harder it drives. It must be stronger than gravity, or the robot falls. D (derivative) reacts to how fast the tilt is changing: it brakes the swing so the robot doesn’t rock. I (integral) reacts to tilt that has built up over time: it removes a lean that P alone would leave behind, such as one caused by an off-centre load.
The motor has a limit (±12 m/s²). A big enough push saturates it, and nothing can save the robot.