When you disconnect from the server all your items will be instantly dropped on the ground
Why?
- Preventing you from logging off when in combat
- Preventing you from logging off with valuable items in your inventory during a raid
- Preventing you being an ass
What to do?
- Bring a chest with you and put stuff inside it
- Use a shulker?
- Use the enderchest!