During the summer of 1695, while the majority of the English forces were occupied with the second siege of Namur, the regiment formed part of a force that occupied the city of Diksmuide with the intention of luring away French forces that were seeking to relieve the siege of Namur. The force was successful, luring a large number of French troops away from Namur who proceeded to besiege the city; instead of holding Diksmuide as intended, however, the Danish general commanding the force surrendered the city on 18 July and, as a consequence, the regiment became prisoners of war. The officer commanding the regiment demanded that the regiment be allowed to attempt to break the siege of the city and escape, but the general denied the request. Although the request was denied, many of the officers and troopers broke their weapons to deny them to the French before they surrendered. The regiment remained in captivity for several weeks, only being released when the siege of Namur was successful and the commander of the French forces there, the Duke of Boufflers, surrendered the city; after a period of negotiation with Louis XIII, Boufflers was exchanged for all English prisoners of war.