Leaving a shoe in a hotel safe can serve as a safety precaution. It can act as a physical reminder to check the safe before leaving the room to ensure you haven't forgotten anything valuable. It also helps prevent accidentally leaving valuable items behind as you would notice something missing when you retrieve your shoe.