ERNESTO weakened to a tropical depression as it ploughed northward over land yesterday, but it still had the punch to lash Virginia with 6 inches of rain, flooding highways, forcing evacuations and knocking out power to hundreds of thousands of people.