The rules say that you can never get a downgrade to Cat 5. So, if you took time off as a 4, you would return as a 4. If you took a break at any higher category (e.g., 3), you could request a downgrade when you return to racing if you think it's necessary. I don't think that there is any automatic downgrading provided there is some record of your previous road license.