RhinoMan

I have a Yamaha Rhino 700 side by side. When I go to start it as long as the key has the starter engaged it sounds like it is gonna run great. But as soon as I let off the key it quits. And underneath by the battery is a large square fuse looking box that clicks. It doesn’t click it has a short arcing sound. Can anyone give me an idea of what I need to do to get this problem fixed. Thanks in advance.