Once you "oficially" go inactive, you stats aren't affected anymore. However in the two days before that happens, they ARE.
A common solution is to select your entire army and sail it into some polar, Pacific, or otherwise deserted region. Make sure to pick a safe route for that though.