How to Terminate UVM Test? (UVM Objections)
In short: A UVM run phase ends when no component holds an objection. Each component that has work raises an objection at the start and drops it when done; while any objection is up, the phase keeps running. So to end a test cleanly you raise an objection before your stimulus and drop it after….

