I tried out a plugin and it keeps highlighting the icons

The plugins in Figma don’t work while they are not active so you deleting the plugin changes nothing in your file. If it was actually a plugin that created these, they are just rectangles or frames that you can delete manually. But they also look similar to mask outlines, which don’t depend on any plugins functionality at all.