We don't have any electrical code rules in Canada but the fire protection act does. If the local jurisdiction uses the national fire code then abandoned wiring must be removed. Our local jurisdiction does not enforce it or the National fire code is not enacted here.