You didn't panic, you made do with the resources at hand, and you have another adventure to relate all your life. Some challenges but fortunate outcome.
It's another lesson for us all -- gotta beware of the Shoulda's:
The motor shoulda charged the battery,
the flares shoulda worked,
the boat shoulda had paddles,
the air horn shoulda worked,
and ideally none of the problems shoulda happened.