Can I Close Event Registration Before Event

I would like to close event registration 24 hrs before the even takes place. Is this possible?