The man was handcuffed as he was being driven to Stony Brook University Hospital for a psychological evaluation.
Around midnight, the officer came upon an accident at Route 347 and Plaisted Avenue in Smithtown.
The officer exited the vehicle to check for injuries.
That's when the man got out of the car and took off.
Police are using a helicopter and dogs to try to track him down.