A freight train struck a heavy truck that had become immobilised on the Elizabeth Street level crossing at Waikanae. The driver escaped seconds before impact. Our investigation found that an unexpected brake application stopped the truck and identified four wider safety issues involving permits, risk assessment and emergency warning.