They are the only German islands not nearby to the mainland and are about two hours ' sailing time from Cuxhaven at the mouth of the River Elbe . They are the only German islands not in the immediate vicinity of the mainland and are approximately three hours ' sailing time from Cuxhaven at the mouth of the River Elbe .