please read the forum rules.
that said. just shut it off, replace the drive and start it back up. your pool will show as degraded. go into the status and you will see the offline drive. choose the elipses, select replace, and select the new drive. it will then resilver and function as normal
alternatvately, you can enable "autoreplace", in which case as soon as the pool comes online ZFS will replace the missing drive with the drive it finds in the same hardware designation as the missing drive.
i will also add, that icy dock sells a number of adapters to go from m.2 to PCIe, with hotswap bays.