If MGM closes at 10 PM the buses run from 1- 1.5 hours later. you should have time to go to B&C and take the boat or walk to MGM and take a bus back to PC.
If MGM closes earlier you may have a problem.
Make sure you watch Illuminations from the bridge at UK to make a quick exit to B&C.