<font color="yellow">"Did NASA plan to have the Shuttle visit it if it stayed up?"</font><br /><br />Yes -- part of the plan was to have the shuttle visit and provide a reboost. However, the shuttle was several years late flying and Skylab was several years early falling. It was mothballed as best they could after leaving. It still contained water and some provisions, although there were questions about how good they'd be. There were other issues as well.<br /><br />
Astronautix has an article that talks about this some more. Pulling the most relevant bit:<br /><br /><i>"The station, never designed to be resupplied, was retired after the third mission ended on February 8, 1974. On the remote chance somebody else would venture aboard, the departing astronauts left a bag of food, clothing, film, and camera filters near the front hatch, tied securely to the telescope control panel. As they left the station, they removed the inside locking pin from the airlock hatch -- in effect, putting out the welcome mat. <br /><br />In the end, it was the sun that spelled doom for Skylab. The final crew used their Apollo spacecraft to nudge Skylab high enough to keep the station in orbit until sometime in 1983. But in the late 1970s solar activity intensified, heating and expanding the upper atmosphere enough to increase the drag on the space station. As Skylab's orbit decayed and its life expectancy decreased, the shuttle program encountered more and more delays. Early plans had called for the reboost mission to be undertaken on the sixth shuttle launch, but schedule pressures pushed it as far ahead as the second mission. However, STS-2 wasn't launched until November 12, 1981, more than two years after Skylab's charred remains had dropped across western Australia when the spacecraft fell on July 11, 1979. "</i>