FYI: Here is a post about the problem; maybe check to see if macOS is doing the same to you: Volume unmounts, sparse bundle image does not eject (DT 3 beta1)
FYI: Here is a post about the problem; maybe check to see if macOS is doing the same to you: Volume unmounts, sparse bundle image does not eject (DT 3 beta1)