Police said the man had gotten out of his car after it became disabled from hitting a wall on the freeway.