In more detail
Detention is charged by the shipping line for the use of its container outside the port. Plan the unloading at your warehouse and the return of the empty container, especially when the delivery site is far from the port.
Example
In MADAR’s work
Estimate the cost of a shipment
A container returned empty 5 days late pays 5 days of detention.