Defence Minister Peter Dutton has instructed the Chief of Navy not to hire any more dance troupes for official events.
The 101 Doll Squadron on Saturday performed at the official commissioning ceremony for the HMAS Supply in Sydney.
The choice of dancers raised eyebrows after the group twerked and performed other moves in front of the naval ship, during what is usually a fairly solemn event.
"It wasn't a good look, it's not going to happen again," Mr Dutton told Nine on Friday.
"Great man, the Chief of Navy, but I've made very clear that won't be happening again."
Labor frontbencher Richard Marles said the dance routine made his week.
"I knew that Peter Dutton was going to make a mark as defence minister, but legit I did not expect this," he said.
"Our enemies and our foes out there are going to be twerking in their boots when they see this vision."
Mr Dutton laughed off the controversy.
"It's the element of surprise," he said.
Australian Associated Press