Is it a chemical?

So baby stopped growing at 5w6d but I did not find out until my 9week appointment, everything passed naturally a day after that appointment . Since baby stopped growing at 5 weeks, is this considered a chemical... or is it a silent miscarriage???