Particle Electron will not enter listening mode

Yesterday I tried flashing my code OTA, but it wouldn’t work. I then tried flashing over serial, but the electron wouldn’t enter listening mode. I pressed and held the mode button, but it wouldn’t work. I then proceeded to try to re-flash the firmware, and it worked, but it still won’t work. I’m not sure what’s going on, so any help with this will be appreciated. Thank you!

You can try to put the device in Safe Mode first, and then from there try OTA flashing and/or Listening Mode.

That worked, thanks