How to terminate the simulation in mid-way

How to terminate the simulation in mid-way

Press CTRL+C to terminate the simulation mid-way