If we connect the plates of a charged capacitor by metallic wire, then charge will begin to flow from higher potential to lower potential and the energy stored in the capacitor gets converted into heat energy.

Therefore, the capacitor will be discharged immediately.