An electronic safety system for preventing vehicle damage during the disconnection of a pulling portion of a vehicle from its towed portion, such as a trailer, has been disclosed. The safety system monitors a series of safety conditions on the pulling portion and optionally on the towed portion of the vehicle. When the safety conditions are met, the coupler, such as a fifth wheel or ball hitch, disconnect function is enabled. When the safety conditions are not met, the coupler disconnect function is disabled and, optionally, the vehicle operator is alerted to the unsafe configuration of the vehicle.