Basal ganglia high-frequency activity is co-modulated with the phase of motor cortical beta and shifted between the subthalamic nucleus and the internal pallidum during sustained motor control.