Although a spark plug is not the reason why your motorcycle engine stops while riding, still without the spark plug, you can’t even start the engine. The spark plug should be clean and shouldn’t contain any impurities or dust.