Just give the cheque number to the bank and ask for stop payment, this is very common. If you donβt remember the cheque number, just look at the next cheque leaf in the book and you will know the previous one.
If you have net banking, you can also block payment for that cheque, the banks will reject the cheque if presented.
Also I think cheques have a validity period, I assume 6 months but you may want to cross check with your bank.
No one is going to take you to jail for this.