What happens when a already charged capacitor is connected to a power
The capacitor will discharge into the battery, the rate depending on the internal resistance of the battery plus the 10K resistor. With secondary cells it will just charge the battery a bit. If your source is actually a bench power supply then the result depends upon the design of the supply. There are three possibilities I can think of.