A civil guard officer at the site told Reuters there were no injured people and that the operation was progressing smoothly as soldiers shovelled snow trapping the vehicles.
Madrid's Barajas airport is operating with two runways after the snow that fell during the weekend was cleared and is gradually getting back to normal.
The airport was closed over the weekend after the city was hit by its worst snow storm in decades.
Hospitals in Madrid maintained essential services despite the huge snow storm that paralyzed Spain's capital.
Reuters TV footage showed people arriving at Infanta Sofia hospital by foot and Civil Protection vans carrying elderly patients, as many roads remained closed due to the heavy snowfall.