When you disconnect a Bluetooth device, it is essentially turned off. This means that the device will no longer be able to communicate with your Mac. However, the device's memory will still remain on your Mac. The keyboard will still be paired to your Mac and can be reconnected anytime. When you forget a Bluetooth device, the device is essentially deleted from your Mac. This means all the data associated with the device will be deleted, including the memory of the device.