Disconnect it at the opener and replace it with a jumper between the two
terminals, that way the opener "sees" the "beam" as being intact. The beam
has to be broken in order for the garage door to reverse. If the opener is
seeing the beam as a complete circuit then it will have no option but to
operate as you want it.