Pull a dielectric slab out of a charged capacitor: the work done depends on whether the battery is still connected.
Spotted a mistake on this page? Report it