Section 97(1)(b) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(b)if neither ship be a flagship, nor a warship of a foreign nation, the bugle shall not be used, but similar marks of respect shall be paid and returned by pipe. If guards and bands are paraded, the guards shall remain at the "slope".