NASA said Wednesday it will end its mission to study the atmosphere and evolution of Mars after its probe went silent for six months.