Bomb plot accused 'tried to stop terror'