Attack sub feared lost, then found