Turning off TRIAC in a DC circuit is fairly easy. To do this, it is necessary to briefly bypass. It is best to do this with a low-power TRIAC + capacitor circuit. This circuit will briefly take over the flowing current while the capacitor is charged and the TRIAC closes. When the capacitor is charged, the auxiliary TRIAC will also close. An auxiliary TRIAC can be a triac optocoupler.