How to cancel my delegate


#1

Hello there
can anyone explain to me how to cancel my delegation and send XTZ to my main wallet in galleon wallet?

Thanks


#2

here is the cli command:
./tezos-client withdraw delegate from <pkh_contract>
some more info here (part III).

(ps your xtz never left you or your wallet)