Added confirmation step for terminate command