Hi Johnny, welcome to the original and REAL Hyundai owners club .
3000rpm will be limp mode. However, you need to quote the fault codes before we can be sure where to look.
Assume recovery used it to tell you about the valve. They are NOT particularly troublesome so you probably own two good ones. If it was intermittent and you found a broken wire, could easily be the cause.
You may also find a plug with wires attached at the wrecker. That part of the loom is usually cut when they pull the motor.