sucks when that happens but you had no idea it was going to go down like that so you can't blame yourself. My guess in a 5way pot with that turnaction that it's probably best just to c/f the river.
3d is 2nd worst river card behind the Qd, so it's a pretty easy c/f