It’s hard to convince most Americans that there is a silver lining to $4-a-gallon gasoline. But General Motors provided a nugget of good news when it announced that it would shutter much of its production of pickups and sport utility vehicles  and might even get rid of the Hummer, the relative of the Abrams tank unleashed on the streets in the cheap-gas days of the 1990s.

It’s hardly the solution to global warming, or the country’s dependence on imported oil, but it’s a start.

Playing the urban warrior in a Hummer was a fairly inexpensive thrill when a gallon of gas cost just over $1. But at $4 a gallon, driving a full-powered Hummer H3 or a big Ford F-150 would cost a typical driver, who drives 15,000 miles a year, almost $4,300 in gas. This is more than 10 percent of the median earnings of full-time workers and about $2,200 more than it would cost to drive the same distance in a Honda Civic.

By May, there were signs that the S.U.V.-era was over. For the first time, Detroit’s Big Three automakers and their trucks were outsold in the United States by fuel-efficient cars made by Asian companies. And monthly sales of Ford’s muscular F-series pickups fell by a third, bumping it five spots from its previous perch as America’s best-selling vehicle, behind the Honda Civic, the Toyota Corolla, the Toyota Camry and the Honda Accord. It was the first time since December 1992 that a car, not a truck, claimed the top spot in monthly sales.