Shackled is a game by Data East released on arcades in 1986. Gameplay is similar to Gauntlet, however, a key difference is that saving prisoners lets the player swap between different shot types outside of the standard dagger.
Darkman425, however, uses a hidden exit on the first floor that's present in this particular version of the game to get to the credits in record time.