If I Detach a Disk Will I Lose the Data on My Disk?

It depends on if the disk is encrypted or not.

Disk detachment process