if it's a decent sized company i would figure out what other roles you'd be interested in realistically based on your skills and qualifications, and let your boss/mentor/whoever know so they can try and get you other opportunities when they become available, or stretch opportunities to get involved in other projects in your current role. if it's a company with other locations, and you're young/single/open to moving, maybe it's a good time to do that or at least consider it.