I am scripting a scene in my game where when the player enters a trigger all the lights go out. The script works, but rather than the room becoming completely black, you can see the light dim, but the lightmaps are left behind. Is there a way to remove these lightmaps at runtime to actually kill the lights upon reaching the trigger?

What you are looking for is Renderer.lightmapIndex

The documentation states that

The index refers to lightmaps array in
LightmapSettings class. A value of 255
means no lightmap has been assigned,
which is the default.

So you can set the lightmapIndex to be 255 when you want to turn off the lightmaps.