The line reverts to stopped state when you move out, and the activation fees to get the line in the new persons name apply.
They don't have to worry about extra costs to get it back to BT or an equivalent
The important bit is that you time the shutting down of your phone and broadband, so it finishes on the day you move out