Activity for leaving the trajectory with some probability.

leave(.trj, prob)

## Arguments

.trj the trajectory object. a probability or a function returning a probability.

## Value

Returns the trajectory object.