If you "crash out" of the game before you have finished a round (i.e. before you sink that 2 inch putt), you will not be credited with a (complete) ranked round. Therefore your score will not count & all that you have done is used up a ball.
NOTE: The above is for a "Ranked round" (like a monthly tournament) not a match round. There may be a few "purists out there who have never done this - but I do not consider it cheating. Neither is "crashing out" and "restarting" a game when you are playing for score.