Further, the visa is terminated at any time the H-2A worker's employment relationship ends, whether through voluntary departure or involuntary termination.
The visa will no be terminated before its expiration, even if the worker is not employed.