Maybe take it apart and repair whatever is keeping the bulbs from illuminating? A lamp is pretty much the simplest electrical thing on a boat. I must say though, usually manufacturers use off the shelf items like this, and I can’t remember seeing a removable nav light like that. It looks more like the anchor lights on most boats.