This article will guide you through verifying how soon you can reinstate a cancelled agreement.
Navigate to Setup > Sales > Sales Settings > Cancel / Freeze.
Search for setting Maximum Days For Reinstating Agreements After Cancellation (leave blank for no limit). If a defined number is set, this could be causing you to be unable to reinstate an agreement. Adjust if needed.