He is used to having you sleep with him. Let him whine. He will just have to get over it unless you want him to sleep with you every night of your life.
I know it is hard, but just try. It will hopefully pass if you ignore him when he cries, for a few days