Yes, the restaurants close when the parks do, for the most part. Do you mean a specific restaurant? Some of the table service restaurants stop taking reservations a bit prior to park closing - maybe an hour or so. If you mean Rainforest Cafe, no, that will still be open. Not seating new diners much beyond park closing, but not throwing anyone out, either. The counter service locations should be serving pretty much right up to, and perhaps a bit beyond, when the park closes.