The displacement current is given by:
\[
I_d = \frac{dq}{dt}
\]
Since \( q = q_0 \cos(\omega t) \), we differentiate with respect to time:
\[
I_d = \frac{d}{dt}(q_0 \cos(\omega t)) = -q_0 \omega \sin(\omega t)
\]
Thus, the displacement current is \( -q_0 \omega \sin(\omega t) \).