# TSAdjointMonitorCancel
Clears all the adjoint monitors that have been set on a time-step object. 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSAdjointMonitorCancel(TS ts)
```
Logically Collective


## Input Parameters

- ***ts -*** the `TS` context obtained from `TSCreate()`



## Notes
There is no way to remove a single, specific monitor.




## See Also
 [](chapter_ts), `TS`, `TSAdjointSolve()`, `TSAdjointMonitorSet()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/interface/sensitivity/tssen.c.html#TSAdjointMonitorCancel">src/ts/interface/sensitivity/tssen.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/interface/sensitivity/tssen.c)


[Index of all Sensitivity routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
