I swapped the motor out of a broken DC04 into a DC07 where the old motor had burnt out.
It all works fine, no burning smell, no sparks, good suction, but on switch off, just before the motor stops, there's a little bit of a rattling sound. At first I thought it was the brush catching on the cover plate, but removing the plate makes no difference. It's all clean, it's not a stone caught up in the vacuum.
Is it a failing motor?