This is a long-shelved generator project connecting a light garden engine to a small permanent magnet motor.
Perhaps unsurprisingly applying power back to the motor was able to restart the engine. Using this and shorting the spark to ground it should be possible for a microcontroller to start and stop the engine, allowing the maintenance of a specific battery voltage.