When you surrender your dog, sometimes this is what they do. They sit there waiting for you to come back. They dont want toys, treats, food, they just want you.
If you dont want to make a forever commitment to a dog, please dont even consider getting one.