Delete deConz and reinstall

For some reason deConz is crashing my Raspi 3B Domoticz installation.
Instructions for installing are there but what is the best way to delete the old installation without destroying something else?

sudo apt remove deconz

no ? (never tried on y side)

Thanks I never noticed that command before.
Will try reinstalling tomorrow.