A woman in her 40s was detained on Tuesday for allegedly abandoning the body of her newborn, police said Thursday.