If you want to teach Zygarde Extreme Speed, or Assemble one with it, the Zygarde Cube can teach Zygarde Extreme Speed so long as you’ve collected the right core (or when you obtain it in USM), reguardless of if the cube contains any cells or not.
You don’t need to disable Zygarde to teach/reteach it Extreme Speed (In fact, you can teach it to Zygarde that don’t originate from the Cells).
Also, note that the Zygarde Cube in Sword/Shield no longer teaches any moves, and Zygarde has no way of learning Extreme Speed other than transferring. :P
Source: Extensive SM/USM Gameplay
Hope I helped!