Endeavour spent the next six months sailing close to shore .
Cook mapped the coastline and concluded that New Zealand comprised two large islands and was not the hoped - for Terra Australis .
Endeavour spent the next six months sailing close to shore , while Cook mapped the coastline and concluded that New Zealand comprised two large islands and was not the hoped - for Terra Australis .