Ms. Warner withdrew from the production because of "an unexpected surgical procedure," the Metropolitan Opera said in a statement.