A Norman castle near Nottinghamshire has reopened to the public following a temporary closure for essential maintenance.