Logging Off

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!