How do I stop the object I used as part of a boolean from rendering?
You need to disable the rendering of your object:

in the outliner menu on the right, click on to enable the rendering toggle switch

then just turn it off for your object.