The issue of the Apple Pencil disconnecting is not a hardware problem

Probably same as Tube profile bug - #2 by stephomi

When you say tube, you mean editing the tube in the 3d viewport?
Or drawing a tube with path mode