Under edit setting of the distributed switch you will find option to migrate the networking to standard switch.
make sure you have the standard switch with proper vLAN IDs already created.
Also make sure you migrate the virtual networking and the physical nics together.