Please help with Triggers/Jump Scares.

so i’ve made a horror game, when i walk through an invisible wall a jump scare pops up. its great but when i go to walk past where the jump scare was i get stuck. is there any way for me to delete the plane that the jumpscare is on after the jumpscare is activiated? if so please let me know as this is a big part of my game

Yes, just use Destroy(GameObject) to delete an object.