the afternoon was drawing to a close , and clayton , disheartened and discouraged , was in a terrible quandary as to the proper course to pursue ; whether to keep on in search of professor porter , at the almost certain risk of her own death in the jungle by night , or to return to the cabin where she might at least serve to protect jan from the perils which confronted his on all sides .