Self explanatory chart.
Trade active
Trade closed manually:
Book partial and trail rest will SL
Trade closed: target reached