An ambulance was about to set off for emergency treatment and sounded an alarm.