hi,
when you deactivate a plugin , the table will exist until you delete the plugin in right way (from wordpress admin panel). If you remove the plugin manually from ftp or other way tables will remain.
I think you can remove unused tables with this plugin ,
https://ww.wp.xz.cn/plugins/plugins-garbage-collector/
good luck