You need to stay subscribed to make it work. That is the whole point (and pitfall) of the CC model.
If you want LR5 standalone you need to find a reseller (eg. amazon) to buy it from.
Alternatively you can upgrade to LR6 via Adobe: just make sure you buy the perpetual licence version.
Or you can just re-subscribe to CC
And did you have a standalone version of Lightroom 5, or was it the creative cloud version?