Switch for DC application
NO. The AC ratings of a switch don't translate well to DC.

The critical rating of a switch is the current it can interrupt, not the current it can carry.

When you open a switch, any arc that forms across the contacts erodes them. With AC, the current goes through zero many times per second, helping the arc to extinguish. With DC, the current is persistent.

DC switches need to have oversized contacts compared to their equivalently rated AC counterparts. They often have contacts that open faster, or further.

In your particular case, 6A 80V DC into a 30A 277v switch. There may be enough de-rating there. The switch will certainly work a few times. Whether it will still be working after 1000 operations is another matter.