Connecting 12V to the ground pin of an Arduino Uno is not by itself a harmful thing to do. What else did you do before or after that? Was a USB cable connected between the Arduino and the computer? Where did the 12V come from?
When you say that "... the Arduino is ON", what do you mean?