Car only wants to run when key is still in start position

Negative. ..not yet... suspecting voltage regulator or alternator