Michael Rocco threw a 10-yard touchdown pass to Jake McGee with 6 seconds remaining Saturday and Virginia rallied from a 10-point deficit to stun Miami 41-40.