such was the alarm that the crew felt at the strange lights they saw on the shoreline , that captain mcgregor ordered mr tanner to keep the sea dancer a league off shore as they passed the entrance to the harbor .