Sounds like the soldering is coming loose, tell the "jerk" who unplugged it they're going to have to pay for a new MacBook next time that happens.
Don't aggravate the condition. If it's working, continue to use it but BE GENTLE plugging and unplugging. If it fails, you're going to want to have the name of a known-good soldering Mac Tech on speed-dial. AppleCare MIGHT fix it if it fails, but don't bet the ranch on it.