Yes, it is. Turning one's back on one's own child is never a good thing. I could never do it, under any circumstances.
Total abandonment of a wayward child would be a sin, but temporarily withholding blessings until the child sees their error and repents is wise.