@reebs If contract ends on 9th April 2024, your tenure there ends on that day. Don't sign a renewal contract. In fact, check your contract to determine if there is such thing as auto renewal, if not... Don't bother to extend.
Resignation only comes to play if you intend to leave before 9 April...