I used to have the same issues with Percy and at first, bribery (using half a pecan) worked. Then he decided the pecan wasn't enough :54:
Luckily, I recent ly tried my hand at birdy mash and he loooves it. So I serve warm birdy mash at dinner time. I spoonfeed him a few bites on his playgym and then make sure he sees me putting the bowl in his cage. After that he hotfoots it over to the cage to finish his dinner and I just close the cage behind him.
Sometimes, he will pretend that he can't see the food so that I must keep spoonfeeding him, the cutiepie! He goes to his sleeping perch and makes soft 'kirrrr' noises until I come feed him. It takes about 15 minutes but has become a wonderful bonding time for us. We chat softly all the time and by the time he wipes his beak on the perch and begs for his 'tickles' (that's me blowing his neck feathers up and down softly for a while), I can close him up without any resistance. I think the combo of soft loving attention and warm foodies makes him keen to go to bed.