This happens to all us at one time or another. I think it was three seasons ago when I launched and just backed away from the ramp when the engine died. This was the only time our trusty Yamaha 8hp failed me. Bad fuel line bulb, it must have cracked over the winter, and I didn't have a spare with me. It had managed to pump enough gas to start the motor and run for a few minutes, then I squeezed it more and the crack must have opened up because it would not pump any more fuel. I didn't have any sails or the boom rigged either, I was "just motoring to the slip". Famous last words!
Thankfully the wind blew me right into the closely marina and the admiral and I were able to move the boat along the docks to the correct slip without incident.
After this happened, I vowed to always launch the boat fully rigged as I had no sails or boom mounted to easily sail to where I needed to go. And I carry a spare fuel line that is kept UV protected.
I don't count the time that the bow line had fallen off the boat and the line got caught in the prop. That was not easy to untangle while onboard!
Note: Cut your bow line to be just shy of the length to foul the prop!
As for your motor, most of the time the carb just needs to be cleaned. It won't hurt to change the spark plug and rebuild the fuel pump either.
If you have any skills working on stuff, these are all pretty easy DIY tasks...