Only in the event of a national emergency, or a formal declaration of war by the House of Commons. The last time Canada declared war was World War II.