If there is no problem, restarting the vehicle should get it out of limp mode. Disconnecting the battery is to reset the engine computer and if the fault has not been rectified, resetting is not going to work.