From Wazeopedia

When you are done, wait until the road turns red on your screen before turning off paving mode to make sure the final segment is saved. If you have accidentally started to record a road in error, you can quickly turn off pave mode before it is saved.