when captain cook arrived on deck he first estimated the time by looking at the sun , and then checked their course before looking aft at the pursuing ships which seemed much closer and much more menacing .