Dale Earnhardt Jr. endured a miserable afternoon at Talladega Sunday and finished in 40th place after being involved in two accidents. Dale Jr. lost control of his car on lap 50 and took out teammate Kasey Kahne, and was later collected in a wreck by Carl Edwards. The race could have gone even worse if it wasn't for some quick thinking by Earnhardt under caution.

Dale Jr. pulled his steering wheel off the steering column, and kept his car from hitting the wall by twisting the column with his hand.

Yikes! @DaleJr controls the car WITH HIS HAND after his steering wheel comes off. That was awesome. #NASCAR https://t.co/KivxuTmuvG

— FOX SPORTS: NASCAR (@NASCARONFOX) May 1, 2016

More from FoxSports

Earnhardt said after the race that the move damaged his hand but saved the car. Fortunately he wasn't driving at full speed, or this could have been a much scarier moment.

"Luckily it was under caution. I just grabbed the shaft and steered the car that way. Might of ripped the skin off my hand, but I wasn't going to let it hit the wall. That was just a freak deal."