According to the snapshot 19w02a page on minecraft.net ( https://minecraft.net/en-us/article/minecraft-snapshot-19w02a ), campfires can be "lit and unlit". However, this is not the case, as campfires are lit in the inventory, and cannot be unlit when placed.
Use a bucket of water