When a HAB is completely destroyed, the vessel's loot container drops to the ground in a gray bag near the crash site and is available for retrieval by anyone nearby.  All fuel inserted into the fuel container is lost on destruction.