in a move which captain rob had practiced and honed with his men aboard ship during the months spent at sea , he had taught the rear line to lift their muskets and prepare to fire a volley into the oncoming enemy in front .