What happens when I destroy a building?

When a building is marked for demolition, all stored goods inside are scheduled to be moved out before deconstruction. A percentage bar is shown on the building's screen showing how much is left to be moved. Laborers are required to haul the goods somewhere else.