You can restart a GNOME Shell extension from the command line using D-Bus.
For example:
$ gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.ReloadExtension
Any utility that enables you to generate a D-Bus message can be used – not just gdbus.