Battery pack connector

One of the wires that connect the battery pack to my microcontroller, that go in slots labelled V and G, disconnected from the microcontroller. Does that mean I have to solder it back on? Is there another option?

I think your best bet is to
I think your best bet is to solder it back to its place.