Boat suddenly started running real rough and cut off

Well I took my 08 möbius out yesterday and it ran perfect like it always has. We were heading back to ramp and stopped at a friends house for about 30 mins. Got in it to leave started it up eased away from their dock and all the sudden started running real rough and cut off couldn't get it started back but once and same thing. Ended up having to get swim it back to the dock and that's where she sits as of now.

Any ideas?