As soon as I plug in the arduino it start bootloading and I cannot get out of the mode.
What makes you think that's so?Which board are you using?