Sounds like good practice.
Where the code addresses abandoned cable, it generally either wants it either treades as hot- wire nuts, junction box, etc, or it wants it removed.
The "detail" is that the NEC does not address abandoned power wiring. Abandoned phone lines, yes- but not the stuff that can zap you.