Ending the treatment safely