Unplugging ecu or sensors or battery will not cause problems as when its all plugged back in, the ecu will just carry on as it doesnt use battery backup memory.
There is flash memory on the ecu which doesnt need power but this is only used to store closed loop fuelling learning information.
I dont think performing an ecu reset will help you as I think you have other issues !
How you reset the ecu also depends on the type of chip installed too and may not even be possible.
Although, if all is working correctly, this data will be relearned anyway !
Perhaps you could tell us what the problems you are having are ?