Unmanaged is only possible in standalone mode. It mean you copy the file to standalone/deployments.
The file will be deployed by the deployment scanner. If you copy a new one it will picked up from the scanner and re-deployed.
A managed deployment is via CLI or console, it will be persisted in the data folder and added to the configuration