yes, if you power cycle (on/off) an OTAA programmed node it will try to join …, again, like Kersing said, the counters are also reset to zero.
see
https://www.thethingsnetwork.org/docs/lorawan/security.html