Hello rickford hicks,
Welcome to Microsoft Q&A forum.
Before we proceed, you said that your account is still on your Xbox, may I know if you can sign in with the account there?
Also, may I know if you are sure that the period is 3 years? Per this article, any account that is inactive for 2 years will be closed, with a few exceptions.
I'm waiting for your reply.