Complex sentence: Oscar can also be seen at the end when Buddy reveals his cake, but then goes back in his trash can, ostensibly to get away from the laughing and cheering.
Split into simpler sentences: Oscar can also be seen at the end when Buddy reveals his cake, but then goes back in his trash can. Probably to get away from the laughing and cheering.