Open File Explorer and select This PC from the left panel. Then, under Network Locations, right-click the mapped drive you want to delete and select Disconnect.