The program doesn't get to save its preferences, clean up scratch files, etc. Badly written programs can even self-destruct (though that's quite rare). Preference corruption is the most likely effect, and that can cause erratic program behavior.
Just use the normal quit function unless a program has frozen, in which case you have no choice.
tooki