Do you mean, the halt & shutdown does not work right after reflash? This is expected, you need to run
best regards Matthias
reboot -fIf that does not work, powercycle it.
best regards Matthias