It depends whether the noun is a single or plural. The rest of the cake is to be eaten after supper. (one cake) The rest of the cakes are to be eaten after supper.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.