Imprisonment is the strangest of them all.
I think it works similarly to the assassinations (government positions are instantly lost, other posts are kept. Possibly with the same exception for rulers as given earlier for my question)
Not true. One of my characters was recently imprisoned and lost his region lordship and even his marshal position.