Yes because your computer will think there is no network.
One thing you could try, is to send the packets to 255.255.255.255, if that is possible, but I don't think it will work. No WiFi, means no network, means no network communication, even if it is to itself because there is nothing to communicate on.