Step back and think holistically about your degree program and your professional goals. Even if you can’t access research materials on campus, you can always complete other tasks that will advance or inform your research, degree completion, and professional objectives. These include reading, writing or revising chapters or articles, updating your CV or resume; drafting application materials for grants, jobs, or fellowships; exploring opportunities, and learning new professional skills that will enhance and speed your research once you can access it again.
If necessary due to timelines, talk to your advisor about reshaping your thesis or dissertation. For example, perhaps an early chapter can be expanded on based on a data set that you already have. Data still to be collected can be saved for an article after you finish your degree.
This might be a good time to complete an Individual Development Plan, such as MyIDP (STEM disciplines), ImaginePhD (Humanities, Social Sciences, Education), or UCSB’s IDP (which includes the student section, advisor section, and instructions).