Does "Cook came within about 120 km (75 mi) of the Antarctic coast before retreating in the face of field ice in January 1773." contain the correct answer to "What kept Captain Cook from getting too close to Antarctica?"
yes