Labor secretary resigns 'to begin a new future'