If the cast iron is now redundant then cut it flat and then chisel it back so it is recessed, then fill it with insulation or some other filling material, or even a brick and then seal it right up with morter.
Ideally it would be chopped and then the whole pipe chiselled right out and then the...