An electric hoist powered by a chemical battery is used to lift a heavy crate of equipment vertically from the deck of a cargo ship onto an elevated platform.

Describe the energy transfer that occurs between the energy stores of the battery and the crate during this lifting process.