Glad no-one was hurt. Seems like the automatic emergency braking should have prevented this whether the autopilot was on or off. I've been in a similar situation (no AP, in the rain) where the car was rapidly slowing down before I could even get my foot on the brake.