So when the day approached he put on his invisible belt , took a sack of gold pieces with him , and slipping into her room in the middle of the night , he placed the bag of gold beside her bed and returned to his sheep .