The solution will be different depending on if the engine is carbureted or fuel injected.
I'm going to guess fuel injected and go down that path.
If your engine is FI, then you will have a THROTTLE BODY (TB) that is used to control air entering the intake and this will directly control engine speed as a result. Here's a link to a parts page for the throttle body assembly:
http://www.boats.net/parts/search/H...d Later/BF50DK2 XRTA/THROTTLE BODY/parts.html
You may notice that there is a section of linkage that attaches to a swivel on an arm on the throttle body. That is where the motion of your throttle control lever and cable terminates.
The arm controls a "throttle plate" or door, if you will, that allows air to enter the engine. At the same time the plate is moved, a sensor that is bolted to the throttle body....called the throttle position sensor (TPS)...is also being moved to signal the engine computer what that throttle plate is doing. IE: closed....wide open....or anywhere in between the two.
The first thing I would check for a complaint such as yours would be that the plate is being moved and then fully closes each time the throttle control is moved. They are known to sometimes "hang up" or be "sticky". Also, that small section of linkage in the parts diagram can bind and not completely transmit the movement of the cable to the TB.
What I have just described is the MECHANICAL function of the throttle control for your outboard (if it is a fuel injected engine). It would be somewhat similar if the engine were carbureted in that there are linkages and throttle plates to check for proper operation.
With a fuel injected engine though, there is also the ELECTRONIC side of engine speed control. So....if a check of the throttle body operation doesn't reveal any faults....there could be other reasons the engine balks at returning to idle.
If that's the case....get back to us with your findings and we will try another approach.
Good luck.