Stopping a UVM Sequence library

Lets say i have a seqlib running that i called using .start(), is there anyway i can terminate the seqlib before it has a chance to finish completely? I have a testcase where i need to do this.

I tried doing sequencer1.stop_sequences() (assume sequencer1 was used to start the seqlib). I am not sure if that would completely stop the seqlib. It could have other undesirable effect where it can stop anything else that may be running on that sequencer.

Any ideas here is appreciated

I’m not sure because i’m new to verification. anyway, did you tried .kill() method. it will terminate a running sequence. sequence1.kill();

I do not understand what your question has to do with a “library”. Any sequence can be killed, but that can leave the driver in a hung state if not done properly.